Hi James,
The output directory is the default starting working directory, so you
might be able to use a relative path like '.'
However I agree that is an oversight, there should be a way to access
the paths to the output directory and temporary directory when
building the tool invocation. Please make a github issue.
For the case of badly behaved tools that want to put their output in
the same directory as their input:
https://common-workflow-language.github.io/draft-2/#createfilerequirement
"If the value is an expression that evaluates to a File object, this
indicates the referenced file should be added to the designated output
directory prior to executing the tool.
Files added in this way may be read-only, and may be implemented
through bind mounts or file system links in such a way as to avoid
unnecessary copying of the input file."
IIRC that feature may not yet be implemented in the reference
implementation, so that also needs a github issue.
- Peter
> --
> You received this message because you are subscribed to the Google Groups
> "common-workflow-language" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
common-workflow-la...@googlegroups.com.
> To post to this group, send email to
>
common-workf...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/common-workflow-language/a3b93d77-47a8-4322-bd52-0707d2793c7c%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.