Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed May 1, 2024
1 parent 421b0a8 commit 8b9bd60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WDL/CLI.py
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ def runner_input_value(s_value, ty, downloadable, root):
return Value.Array(
ty.item_type, [runner_input_value(s_value, ty.item_type, downloadable, root)]
)
if isinstance(ty, Type.StructInstance):
if isinstance(ty, (Type.Pair, Type.Map, Type.StructInstance)):
# allow structs as JSON
return Value.from_json(ty, json.loads(s_value))
if isinstance(ty, Type.Any):
Expand Down

0 comments on commit 8b9bd60

Please sign in to comment.