[hg] galaxy 2452: Bug fix in for metadata, should correct functi...
details: http://www.bx.psu.edu/hg/galaxy/rev/c44567359a03 changeset: 2452:c44567359a03 user: Greg Von Kuster <greg@bx.psu.edu> date: Fri Jun 12 09:56:23 2009 -0400 description: Bug fix in for metadata, should correct functional tests ( I hope ). 1 file(s) affected in this change: lib/galaxy/datatypes/metadata.py diffs (21 lines): diff -r ee43bace03db -r c44567359a03 lib/galaxy/datatypes/metadata.py --- a/lib/galaxy/datatypes/metadata.py Thu Jun 11 15:41:57 2009 -0400 +++ b/lib/galaxy/datatypes/metadata.py Fri Jun 12 09:56:23 2009 -0400 @@ -295,13 +295,14 @@ def get_html_field( self, value=None, context={}, other_values={}, values=None, **kwd): try: values = kwd['trans'].db_builds - except AttributeError: pass + except KeyError: + pass return super(DBKeyParameter, self).get_html_field( value, context, other_values, values, **kwd) - def get_html( self, value=None, context={}, other_values={}, values=None, **kwd): try: values = kwd['trans'].db_builds - except AttributeError: pass + except KeyError: + pass return super(DBKeyParameter, self).get_html( value, context, other_values, values, **kwd)
participants (1)
-
Greg Von Kuster