Skip to content

Commit d17edfa

Browse files
committed
Replace last --enable_conda with profile check
1 parent 1e3c202 commit d17edfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WorkflowMain.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class WorkflowMain {
7171
NfcoreTemplate.checkConfigProvided(workflow, log)
7272

7373
// Check that conda channels are set-up correctly
74-
if (params.enable_conda) {
74+
if (workflow.profile.contains('conda') || workflow.profile.contains('mamba')) {
7575
Utils.checkCondaChannels(log)
7676
}
7777

0 commit comments

Comments
 (0)