Skip to content

Commit

Permalink
Add workflow building mode check to collection parameter handling
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Mar 4, 2016
1 parent 97793ab commit 0445fcd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/galaxy/tools/parameters/basic.py
Expand Up @@ -2346,6 +2346,8 @@ def _get_select_dataset_collection_field( self, trans, history, multiple=False,
return field

def from_html( self, value, trans, other_values={} ):
if trans.workflow_building_mode:
return None
if not value and not self.optional:
raise ValueError( "History does not include a dataset collection of the correct type or containing the correct types of datasets" )
if value in [None, "None"]:
Expand Down

0 comments on commit 0445fcd

Please sign in to comment.