Skip to content

Commit

Permalink
enable CLI input of Array[Directory]
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Jan 11, 2024
1 parent b82e9da commit ff1a811
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 @@ -1254,7 +1254,7 @@ def runner_input_value(s_value, ty, downloadable, root):
if isinstance(ty, Type.Float):
return Value.Float(float(s_value))
if isinstance(ty, Type.Array) and isinstance(
ty.item_type, (Type.String, Type.File, Type.Int, Type.Float)
ty.item_type, (Type.String, Type.File, Type.Directory, Type.Int, Type.Float)
):
# just produce a length-1 array, to be combined ex post facto
return Value.Array(
Expand Down

0 comments on commit ff1a811

Please sign in to comment.