[BUG] file arguments with multiple true require a wildcard but still end up being lists #706
Open
2 tasks done
Labels
bug
Something isn't working
What happened?
When defining a file argument with multiple: true and direction: output, viash 0.8.6 expects any values passed to that argument to contain a wildcard. E.g.
$ viash run config.vsh.yaml -- --output foo.txt [error] --output has to be a path containing a wildcard, e.g. output_*.txt. Use --help to get more information on the parameters.
However, one would then perhaps expect that
par["output"]
would be a string containing that wildcard, not a list of a string.Especially given that viash now does not allow passing multiple values:
Thus, we need to change viash such that it passes
par
to the script as{"output": "foo*.txt"}
.Steps to reproduce
/
Expected behavior
/
Relevant log output
/
Version
Viash 0.8.6
Possible solution
No response
Confirmation
Additional context
No response
The text was updated successfully, but these errors were encountered: