Skip to content

Commit

Permalink
Fixed log output for preprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix-Kummer committed Nov 13, 2024
1 parent a8da0e3 commit e67107d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ process {
[
path: { "${params.outdir}/preprocess/${task.tag}/logs" },
mode: params.publish_dir_mode,
pattern: '*.log',
pattern: '**.log',
enabled: params.publish_dir_enabled
],
[
Expand Down
4 changes: 2 additions & 2 deletions modules/local/force-preprocess/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ process FORCE_PREPROCESS {
output:
path "**/*BOA.tif", optional:true, emit: boa_tiles
path "**/*QAI.tif", optional:true, emit: qai_tiles
path "*.log" , emit: log
path "**.log" , emit: log
path "versions.yml" , emit: versions

when:
Expand All @@ -36,7 +36,7 @@ process FORCE_PREPROCESS {
FILEPATH=$data
BASE=\$(basename $data)
force-l2ps \$FILEPATH \$PARAM > level2_log\$BASE.log
force-l2ps \$FILEPATH \$PARAM > level2_log/\$BASE.log
cat <<-END_VERSIONS > versions.yml
"${task.process}":
Expand Down

0 comments on commit e67107d

Please sign in to comment.