mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #798 from blankenberg/tool_error_fixes
[15.07] Fix for not respecting tool errors when trying to execute tools
This commit is contained in:
@@ -1517,6 +1517,8 @@ class Tool( object, Dictifiable ):
|
||||
group_errors[-1] = { '__index__': 'Cannot add repeat (max size=%i).' % input.max }
|
||||
any_group_errors = True
|
||||
rep_index += 1
|
||||
if any_group_errors:
|
||||
errors[ input.name ] = group_errors
|
||||
elif isinstance( input, Conditional ):
|
||||
group_state = state[input.name]
|
||||
group_prefix = "%s|" % ( key )
|
||||
|
||||
Reference in New Issue
Block a user