Skip to content

Commit

Permalink
Update nextflow.config
Browse files Browse the repository at this point in the history
  • Loading branch information
ggabernet authored Sep 30, 2020
1 parent 2da4db3 commit 0b0033b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def check_max(obj, type) {
}
}

// Funktions to fix number of cpus to allow reproducibility for MEGAHIT and SPAdes
// Functions to fix number of cpus to allow reproducibility for MEGAHIT and SPAdes
// if corresponding parameters are specified, number of cpus is not increased with retries
def check_megahit_cpus (x, attempt ) {
if (params.megahit_fix_cpu_1) return 1
Expand All @@ -220,4 +220,4 @@ def check_spades_cpus (x, attempt ) {
def check_spadeshybrid_cpus (x, attempt ) {
if (params.spadeshybrid_fix_cpus) return check_max (params.spadeshybrid_fix_cpus, 'cpus' )
else return check_max (x * attempt, 'cpus' )
}
}

0 comments on commit 0b0033b

Please sign in to comment.