Skip to content

Commit

Permalink
check conda channels as it's done in rnaseq
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Dec 16, 2022
1 parent 32bf4aa commit 0cb35e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nf_core/pipeline-template/lib/WorkflowMain.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ class WorkflowMain {
// Check that a -profile or Nextflow config has been provided to run the pipeline
NfcoreTemplate.checkConfigProvided(workflow, log)

// Check that conda channels are set-up correctly
if (workflow.profile.tokenize(',').intersect(['conda', 'mamba']).size() >= 1) {
Utils.checkCondaChannels(log)
}

// Check AWS batch settings
NfcoreTemplate.awsBatch(workflow, params)

Expand Down

0 comments on commit 0cb35e6

Please sign in to comment.