diff --git a/src/modules/kmerclust.nf b/src/modules/kmerclust.nf index 3f652dacf64a7b2cd4661da6fd0a8906e27d91c9..74a5fbfeb0a776656436cb9b5477eec623097181 100644 --- a/src/modules/kmerclust.nf +++ b/src/modules/kmerclust.nf @@ -16,7 +16,7 @@ process KMERCLUST { script: def args = task.ext.args ?: '' """ - Rscript ../bin/kmerclust.R ${params.csv} ${csv} ${specie} ${task.cpus} + Rscript ${projectDir}/bin/kmerclust.R ${params.csv} ${csv} ${specie} ${task.cpus} cat <<-END_VERSIONS > versions.yml "${task.process}": diff --git a/src/nextflow.config b/src/nextflow.config index 76baf8868053989a6057d93732ef54922f982a10..58daa8516c6defa2db95ead8937dd04a7527ff2f 100644 --- a/src/nextflow.config +++ b/src/nextflow.config @@ -20,8 +20,8 @@ profiles { charliecloud.runOptions = "--bind /scratch:/scratch --bind /Xnfs:/Xnfs --bind /home:/home" process{ - errorStrategy = { sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' } - maxRetries = 3 + //errorStrategy = { sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' } + //maxRetries = 3 executor = "slurm" queue = "Lake" withLabel: big_mem_mono_cpus {