commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/1c2e1625dd8a/ changeset: 1c2e1625dd8a user: dan date: 2013-02-22 23:03:49 summary: Fix for displaying error messages on DataToolParameter where optional=True. affected #: 1 file diff -r 574e22b584eb7ef8b6168902347473ed3adeccac -r 1c2e1625dd8a419aa1d335ddc19ba34857c05fc4 lib/galaxy/tools/parameters/basic.py --- a/lib/galaxy/tools/parameters/basic.py +++ b/lib/galaxy/tools/parameters/basic.py @@ -1555,7 +1555,7 @@ # although, this should never be called in workflow mode right? if trans.workflow_building_mode: return None - if not value: + if not value and not self.optional: raise ValueError( "History does not include a dataset of the required format / build" ) if value in [None, "None"]: return None https://bitbucket.org/galaxy/galaxy-central/commits/c177960e4ed6/ changeset: c177960e4ed6 branch: stable user: dan date: 2013-02-22 23:03:49 summary: Fix for displaying error messages on DataToolParameter where optional=True. affected #: 1 file diff -r 31b09605fcc313b3e93efb927ac328bfcc42ad82 -r c177960e4ed61925a8b6c858e1f3f8d54c93cb37 lib/galaxy/tools/parameters/basic.py --- a/lib/galaxy/tools/parameters/basic.py +++ b/lib/galaxy/tools/parameters/basic.py @@ -1552,7 +1552,7 @@ # although, this should never be called in workflow mode right? if trans.workflow_building_mode: return None - if not value: + if not value and not self.optional: raise ValueError( "History does not include a dataset of the required format / build" ) if value in [None, "None"]: return None 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.
participants (1)
-
commits-noreply@bitbucket.org