Skip to content

Commit

Permalink
Merge pull request #13 from CRC-FONDA/dev
Browse files Browse the repository at this point in the history
Disabled publishing of version.yml in visualization processes
  • Loading branch information
Felix-Kummer authored Dec 20, 2024
2 parents ee02655 + c534f93 commit 7c9e49d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 142 deletions.
20 changes: 6 additions & 14 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -78,27 +78,19 @@ process {
withName: "FORCE_PYRAMID" {
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,
enabled: params.publish_dir_enabled
],
[
path: { "${params.outdir}/trend/pyramid/" },
pattern: 'versions.yml',
mode: params.publish_dir_mode,
enabled: params.publish_dir_enabled
]
path: { "${params.outdir}/trend/pyramid/" },
saveAs: { "${it.substring(12,it.indexOf("."))}/trend/${it.substring(0,11)}/$it" },
pattern: '*.tif*',
mode: params.publish_dir_mode,
enabled: params.publish_dir_enabled
]
}

withName: "FORCE_MOSAIC" {
publishDir = [
path: { "${params.outdir}/trend/mosaic/" },
mode: params.publish_dir_mode,
saveAs: {"${params.outdir}/trend/mosaic/${task.tag}/${it.replaceAll("trend/","")}"},
saveAs: { filename -> filename.equals('versions.yml') ? null : "${params.outdir}/trend/mosaic/${task.tag}/${filename.replaceAll("trend/","")}"},
enabled: params.publish_dir_enabled
]
}
Expand Down
Loading

0 comments on commit 7c9e49d

Please sign in to comment.