Open ChristopherBarrington opened 11 months ago
Could add new methods to existing nextflow/groovy classes to simplify channel processing.
Add routinely used or combined methods into one method that can be called in a chain of commands.
Add current functions as methods, eg concatenation of array of maps could be a method of the array class?
eg https://github.com/nf-core/rnaseq/blob/3bec2331cac2b5ff88a1dc71a21fab6529b57a0f/lib/WorkflowMain.groovy
may be cleaner to keep checking/validation in this type of structure