-
Notifications
You must be signed in to change notification settings - Fork 689
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
How to set publishing mode for all processes? #752
Comments
Hi @alnfedorov ! Apologies for the late response!
Exactly! We thought it would be best to allow us to change this directly via a Nextflow config option rather than a custom @mahesh-panchal do you have a solution we can use here? Might be nice to add an example of how we change the |
We should bring that parameter back: I made a mistake when I thought I confirmed inheritance, but the test I made gave the result it did because of default settings. |
This will be fixed in #770. I have added |
First, thank you guys for all the magnificent work! You made jobs of many bioinformaticians a lot easier.
I noticed that we no longer have a publish_dir_mode option available in this release(3.5). As far as I understand, it was removed in favor of setting this option for each particular process by selectors(#701).
Could you please provide an example of a Nextflow selector to reproduce the previous publish_dir_mode functionality?
I am far from being an expert in the Nextflow DSL, but wouldn't it require rewriting the whole publishDir definition?
I.e.
publishDir.mode ='something'
is not working. It should bepublishDir = [path: ...., mode = 'something', ...]
(and the use case is to change only the
mode
parameter)It might be worth mentioning a solution in the documentation.
The text was updated successfully, but these errors were encountered: