Il giorno mer, 20/03/2013 alle 12.41 +0000, Peter Cock ha scritto: 
> On Wed, Mar 20, 2013 at 10:08 AM, Nicola Soranzo <sora...@crs4.it> wrote:
> > Il giorno mar, 19/03/2013 alle 15.20 -0400, Raj Ayyampalayam ha
> > scritto:
> >> One of the first few tools I tested was the ncbi makebkastdb tool. When
> >> I try to run it the history for that particular job is immediately shown
> >> as follows:
> >>
> >> 0: (unnamed dataset)
> >> Failed to retrieve dataset information.
> >> An error occurred with this dataset:/hasattr(): attribute name must be
> >> string/
> >
> > Hi Raj,
> > this error in the history should be fixed by this patch:
> >
> > https://bitbucket.org/nsoranzo/peterjc-galaxy-central-tools2/commits/35163cbc6c694f598ed1a1875353c58b275e2423
> >
> > I have sent a pull request to Peter (the maintainer), hopefully he will
> > release soon a new version of blast_datatypes with this fix.
> >
> > Best,
> > Nicola
> 
> 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/datatypes/metadata.py?at=default
> 
> 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

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

Reply via email to