On Wed, Mar 20, 2013 at 1:52 PM, Nicola Soranzo <soranzo@crs4.it> wrote:
Il giorno mer, 20/03/2013 alle 12.41 +0000, Peter Cock ha scritto:
The patch just removes the MetadataElement call - is that wise?
Hi Peter, my question instead is, what are they for? With 'name' they have no meaning.
Looking at the code, I don't see a recent API change regarding the name:
https://bitbucket.org/galaxy/galaxy-central/history-node/default/lib/galaxy/...
Is there perhaps a universe_wsgi.ini setting which might be involved, since I've not seen this error locally?
$ cd lib/galaxy/datatypes/ $ grep 'MetadataElement(' *.py|grep -v name
returns nothing, so the 'name' parameter is really mandatory.
Best, Nicola
Good question - I'd have to ask Edward what he thought this did, but you seem to be right that as the code stands this metadata element is rather pointless. (I'm still puzzled why we don't see the error here though). I'll apply your patch and test it locally... Peter