Skip to content

Commit

Permalink
Fixed publishDir for visualization processes
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix-Kummer committed Jan 24, 2024
1 parent 30d36cb commit 9beb427
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -111,20 +111,27 @@ process {
time = { 20.minute * task.attempt }
stageInMode = 'copy'
publishDir = [
path: "${params.outdir}/trend/pyramid/",
saveAs: { "${it.substring(12,it.indexOf("."))}/trend/${it.substring(0,11)}/$it" },
pattern: '*.tif*',
mode: params.publish_dir_mode
[
path: { "${params.outdir}/trend/pyramid/" },
saveAs: { "${it.substring(12,it.indexOf("."))}/trend/${it.substring(0,11)}/$it" },
pattern: '*.tif*',
mode: params.publish_dir_mode
],
[
path: { "${params.outdir}/trend/pyramid/" },
pattern: 'versions.yml',
mode: params.publish_dir_mode
]
]
}

withName: "FORCE_MOSAIC" {
memory = { 1500.MB * task.attempt }
time = { 20.minute * task.attempt }
publishDir = [
path: "${params.outdir}/trend/mosaic/",
path: { "${params.outdir}/trend/mosaic/" },
mode: params.publish_dir_mode,
saveAs: { it.equals('versions.yml') ? null : "${params.outdir}/trend/mosaic/${task.tag}/${it.replaceAll("trend/","")}"}
saveAs: {"${params.outdir}/trend/mosaic/${task.tag}/${it.replaceAll("trend/","")}"}
]
}

Expand Down

0 comments on commit 9beb427

Please sign in to comment.