Skip to content

Commit 38fc379

Browse files
committed
chore: remove unused warning
1 parent 1c70a68 commit 38fc379

File tree

1 file changed

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

1 file changed

+0
-17
lines changed

subworkflows/local/utils_nfcore_differentialabundance_pipeline/main.nf

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -206,23 +206,6 @@ def validateInputParameters(paramsets) {
206206
if (!(row.contrasts_yml || row.contrasts)) {
207207
error("Either '--contrasts' and '--contrasts_yml' must be set. Please specify one of these options to define contrasts.")
208208
}
209-
210-
if (row.contrasts_yml && !row.skip_reports && !row.report_grouping_variable) {
211-
log.warn """
212-
=======================================================================
213-
You are using a formula-based contrasts YAML file (--contrasts_yml)
214-
but have not provided --report_grouping_variable.
215-
216-
This can cause errors when rendering reports if no grouping variable
217-
is available in the contrasts table (the 'variable' column is empty).
218-
219-
Please specify a grouping variable to use in reports, e.g.:
220-
--report_grouping_variable 'treatment'
221-
222-
Or set --skip_reports if you do not need reporting.
223-
=======================================================================
224-
"""
225-
}
226209
}
227210
}
228211

0 commit comments

Comments
 (0)