Matthias De Smet
06/04/2026, 10:27 AMprocess.when is slated to be deprecated in a future nextflow release. I propose a mega-PR to completely remove it from #CJRH30T6V.
β οΈ: Remove it!
π₯Ί : Keep it
Let me know!Evangelos Karatzas
06/04/2026, 10:29 AMMatthias De Smet
06/04/2026, 10:30 AMMaxime Garcia
06/04/2026, 10:31 AMMaxime Garcia
06/04/2026, 10:31 AMMaxime Garcia
06/04/2026, 10:31 AMEvangelos Karatzas
06/04/2026, 10:31 AMMaxime Garcia
06/04/2026, 10:32 AMMatthias De Smet
06/04/2026, 10:32 AMBut will need a post/blogpost for any nf-core pipelines that utilize when to execute modules or notAFAIK itβs use has been discouraged for a while now, so I doubt any maintained pipelines still use it
Evangelos Karatzas
06/04/2026, 10:32 AMEvangelos Karatzas
06/04/2026, 10:33 AM.when?Matthias De Smet
06/04/2026, 10:37 AMMatthias De Smet
06/04/2026, 10:37 AMEvangelos Karatzas
06/04/2026, 10:38 AMI have replace it with filter SHAME!Matthias De Smet
06/04/2026, 10:39 AMdev branchMatthias De Smet
06/04/2026, 10:40 AMMatthias De Smet
06/04/2026, 10:44 AMMahesh Binzer-Panchal
06/04/2026, 10:50 AMMatthias De Smet
06/04/2026, 10:52 AMMahesh Binzer-Panchal
06/04/2026, 10:53 AMMaxime Garcia
06/04/2026, 10:53 AMMaxime Garcia
06/04/2026, 10:53 AMMaxime Garcia
06/04/2026, 10:53 AMMatthias De Smet
06/04/2026, 10:54 AMMahesh Binzer-Panchal
06/04/2026, 10:55 AMSimon Pearce
06/04/2026, 11:24 AMSimon Pearce
06/04/2026, 11:25 AMSimon Pearce
06/04/2026, 11:25 AMMaxime Garcia
06/04/2026, 11:25 AMSimon Pearce
06/04/2026, 11:25 AMSimon Pearce
06/04/2026, 11:25 AMMatthias De Smet
06/04/2026, 11:25 AMMaxime Garcia
06/04/2026, 11:26 AMSimon Pearce
06/04/2026, 11:26 AMMaxime Garcia
06/04/2026, 11:26 AMSimon Pearce
06/04/2026, 11:26 AMSimon Pearce
06/04/2026, 11:26 AMMatthias De Smet
06/04/2026, 11:26 AMSimon Pearce
06/04/2026, 11:26 AMSimon Pearce
06/04/2026, 11:26 AMMatthias De Smet
06/04/2026, 11:28 AMext.when π€·π»Matthias De Smet
06/04/2026, 11:28 AMMaxime Garcia
06/04/2026, 11:28 AMMahesh Binzer-Panchal
06/04/2026, 11:30 AMMatthias De Smet
06/04/2026, 11:31 AMnf-core/screw-you-we'll-do-it-ourselves ?Simon Pearce
06/04/2026, 12:27 PMSimon Pearce
06/04/2026, 12:27 PMSimon Pearce
06/04/2026, 12:43 PMPhil Ewels
06/05/2026, 2:13 PMwhen for well over a year now. I believe that we're yet to find anything that can't be done with other simpler syntax. But that can always change!Simon Pearce
06/05/2026, 2:14 PMSimon Pearce
06/05/2026, 2:14 PMenabled = true on a module would be wonderfulSimon Pearce
06/05/2026, 2:15 PMSimon Pearce
06/05/2026, 2:15 PMSimon Pearce
06/05/2026, 2:15 PMSimon Pearce
06/05/2026, 2:20 PMMahesh Binzer-Panchal
06/05/2026, 3:59 PMBen Sherman has been asking for use cases forI'm almost certain we've given these use cases before, and there's nothing that's been presented which can actually practically replace it. As far as I'm aware it's been misunderstood or dismissed.for well over a year now. I believe that we're yet to find anything that can't be done with other simpler syntax. But that can always change!when
Phil Ewels
06/06/2026, 12:09 PMBen Sherman
06/08/2026, 4:22 AMwhen: from typed processes and leave it in legacy processes. So I would just remove when: from nf-core modules when they are migrated to static typing + recordsMatthias De Smet
06/08/2026, 5:08 AM