I wrote a nested workflow with cwl, but I want to have all the outputs of all steps (all of them are of type file) in a specific folder. I tried to use --leave-outputs, this and also this one, but I would prefer not to add another step.
Is it possible to add the directory as a part of glob or somewhere else for all of the outputs?
When I add the directory to the glob like:
glob: $inputs.bet_in_rao.path/bids/derivatives + “*.nii.gz”
no outputs will be generated.