Skip to content

Commit

Permalink
Removed unnecessary resource requests in modules.conf in favor of nf-…
Browse files Browse the repository at this point in the history
…core labels
  • Loading branch information
Felix-Kummer committed May 10, 2024
1 parent 9dc069b commit 841399d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
25 changes: 0 additions & 25 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ process {
}

withName: "FORCE_GENERATE_ANALYSIS_MASK" {
memory = { 500.MB * task.attempt }
time = { 20.minute * task.attempt }
publishDir = [
path: { "${params.outdir}/preparation/" },
mode: params.publish_dir_mode,
Expand All @@ -45,8 +43,6 @@ process {
}

withName: "FORCE_GENERATE_TILE_ALLOW_LIST" {
memory = { 500.MB * task.attempt }
time = { 20.minute * task.attempt }
publishDir = [
path: { "${params.outdir}/preparation/" },
pattern: '*.txt',
Expand All @@ -55,9 +51,6 @@ process {
}

withName: "FORCE_PREPROCESS" {
cpus = 4
memory = { 4500.MB * task.attempt }
time = { 2.h * task.attempt }
errorStrategy = 'retry'
maxRetries = 5
publishDir = [
Expand All @@ -74,15 +67,6 @@ process {
]
}

withName: "MERGE_BOA" {
memory = { 2000.MB * task.attempt }
time = { 2.h * task.attempt }
}

withName: "MERGE_QAI" {
memory = { 2000.MB * task.attempt }
time = { 2.h * task.attempt }
}

withName: "HIGHER_LEVEL_CONFIG" {
errorStrategy = 'retry'
Expand All @@ -95,9 +79,6 @@ process {
}

withName: "FORCE_HIGHER_LEVEL" {
cpus = 6
memory = { (params.only_tile ? 12000.MB : 3300.MB ) * task.attempt }
time = { 2.h * task.attempt }
publishDir = [
path: { "${params.outdir}/higher-level/${task.tag}" },
mode: 'symlink',
Expand All @@ -107,8 +88,6 @@ process {
}

withName: "FORCE_PYRAMID" {
memory = { 1500.MB * task.attempt }
time = { 20.minute * task.attempt }
stageInMode = 'copy'
publishDir = [
[
Expand All @@ -126,8 +105,6 @@ process {
}

withName: "FORCE_MOSAIC" {
memory = { 1500.MB * task.attempt }
time = { 20.minute * task.attempt }
publishDir = [
path: { "${params.outdir}/trend/mosaic/" },
mode: params.publish_dir_mode,
Expand All @@ -137,8 +114,6 @@ process {

withName: "CHECK_RESULTS" {
errorStrategy = { task.exitStatus == 143 ? 'retry' : 'ignore' }
memory = { 14000.MB * task.attempt }
time = { 2.h * task.attempt }
publishDir = [
enabled: false
]
Expand Down
2 changes: 1 addition & 1 deletion modules/local/force-higher_level.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ nextflow.enable.dsl = 2

process FORCE_HIGHER_LEVEL {

label 'process_high'
label 'process_medium'

container "docker.io/davidfrantz/force:3.7.10"
tag { tile }
Expand Down

0 comments on commit 841399d

Please sign in to comment.