-
Notifications
You must be signed in to change notification settings - Fork 630
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
Allow to skip publishDir #4133
Allow to skip publishDir #4133
Conversation
Signed-off-by: Lehmann_Fabian <fabian.lehmann@informatik.hu-berlin.de>
✅ Deploy Preview for nextflow-docs-staging canceled.
|
Not sure to understand what's the problem you are trying to solve |
He wants a global switch to toggle all publishing. However you could accomplish this with a param like |
Partially Ben is right. My idea is now that you have your config and you can say something like:
And, of course, you can also globally turn off publishDirs and enable it only for selected processes. |
I don't think it should be introduced a specific directive for this. I'd be more open to discussing a mechanism to override the settings of publish dir attributes. For example, having something like
This would set publish dir Would this solve your use case? |
Thanks for getting back to me. |
Closing in favour of #4186 |
If you have a big project such as nf-core it happens that
publishDir
directives are spread over different config files that you don't wan't to touch. However, a publishDir has to be disabled in the place of creation.process.publishDir.enable = false
is not applied to existingpublishDirs
.Therefore, I implemented this small feature.