mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 10:24:38 +08:00
Merge pull request #1859 from guerler/fix_collection_000
[16.01] Add workflow building mode check to collection parameter handling
This commit is contained in:
@@ -2346,6 +2346,8 @@ class DataCollectionToolParameter( BaseDataToolParameter ):
|
||||
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"]:
|
||||
|
||||
Reference in New Issue
Block a user