Skip to content

Commit

Permalink
Drop guard ... this shouldn't break or else we need to rethink this
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Apr 18, 2024
1 parent 5addd00 commit 0ab17c2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/galaxy/tools/parameters/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from .basic import (
DataCollectionToolParameter,
DataToolParameter,
ParameterValueError,
SelectToolParameter,
ToolParameter,
)
Expand Down Expand Up @@ -291,10 +290,8 @@ def params_from_strings(params: Dict[str, Union[Group, ToolParameter]], param_va
# This would resolve a lot of back and forth in the various to/from methods.
value = safe_loads(value)
if param:
try:
value = param.value_from_basic(value, app, ignore_errors)
except ParameterValueError:
continue
# if ignore_error is true we return the value unmodified
value = param.value_from_basic(value, app, ignore_errors)
rval[key] = value
return rval

Expand Down

0 comments on commit 0ab17c2

Please sign in to comment.