Skip to content

Commit

Permalink
also save config per sample
Browse files Browse the repository at this point in the history
  • Loading branch information
fmalmeida committed Apr 19, 2024
1 parent 3069563 commit b4d8d45
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,11 @@ if (params.aligner == 'cellrangermulti') {
publishDir = [
path: "${params.outdir}/${params.aligner}/count",
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
saveAs: { filename ->
if (filename.equals('versions.yml')) null
else if (filename.equals('cellranger_multi_config.csv')) "${meta.id}/${filename}"
else filename
}
]
}
withName: 'GUNZIP*' {
Expand Down

0 comments on commit b4d8d45

Please sign in to comment.