Skip to content

Commit f82ee49

Browse files
Include decoupler network file validation
1 parent 70520d5 commit f82ee49

File tree

1 file changed

+4
-0
lines changed
  • subworkflows/local/utils_nfcore_differentialabundance_pipeline

1 file changed

+4
-0
lines changed

subworkflows/local/utils_nfcore_differentialabundance_pipeline/main.nf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,10 @@ def validateInputParameters(paramsets) {
196196
if (row.gprofiler2_background_file && row.gprofiler2_background_file != 'auto') {
197197
file(row.gprofiler2_background_file, checkIfExists: true)
198198
}
199+
} else if (row.functional_method == 'decoupler') {
200+
if (!row.decoupler_network) {
201+
error("To run decoupler, please provide a network file!")
202+
}
199203
}
200204
}
201205

0 commit comments

Comments
 (0)