1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/c460f284077f/ changeset: c460f284077f user: dan date: 2012-12-10 22:14:05 summary: Fix for value_to_display_text in DatasetToolparameter when encountering a non-set optional multiple dataset; inspired by a patch from Kyle Ellrott. affected #: 1 file
diff -r fc84a8b469c3181be64083a91d0fc2faae5e73ef -r c460f284077f0b400901e4cd791d94a311425751 lib/galaxy/tools/parameters/basic.py --- a/lib/galaxy/tools/parameters/basic.py +++ b/lib/galaxy/tools/parameters/basic.py @@ -1605,7 +1605,7 @@ return value.file_name
def value_to_display_text( self, value, app ): - if not isinstance(value, list): + if value and not isinstance( value, list ): value = [ value ] if value: return ", ".join( [ "%s: %s" % ( item.hid, item.name ) for item in value ] )
Repository URL: https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
galaxy-commits@lists.galaxyproject.org