-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to use 'name' attribute with path() output #4943
Comments
You could accomplish this in the script: script:
"""
cp .command.sh ${id}.${task.process}.txt
""" You shouldn't rename helper files because it can break the Nextflow runtime. Copying them is fine, but still a bit sketchy since these files are internal, they aren't like a public user-facing API |
my goal is to avoid doing it in the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice if we could change the file output name in the
output
directive, the same way you can do withinput
, like this;Currently it seems you would have to do something like this;
though that still does not actually propagate down through the output channel, so your downstream processes will be forced to do the renaming, or you would have to rename in a separate closure
(example method of renaming in a downstream method)
would be easier if it could be just embedded in the
output
directiveThe text was updated successfully, but these errors were encountered: