Skip to content

Commit 3676776

Browse files
tgurbichochkalova
andauthored
Simplified result publishing
Co-authored-by: Sofia Ochkalova <[email protected]>
1 parent fc6dfc1 commit 3676776

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

config/modules.config

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,8 @@ process {
1818
process {
1919
withName: DREP_CATALOGUE {
2020
publishDir = [
21-
path: "${params.outdir}",
22-
saveAs: { filename ->
23-
def result_file = file(filename)
24-
if ( result_file.name == "drep_data_tables.tar.gz" ) {
25-
return "additional_data/intermediate_files/drep_data_tables.tar.gz"
26-
}
27-
return null
28-
},
21+
path: "${params.outdir}/additional_data/intermediate_files",
22+
pattern: "drep_data_tables.tar.gz",
2923
mode: 'copy',
3024
failOnError: true
3125
]

0 commit comments

Comments
 (0)