Skip to content

Commit

Permalink
Removed unneeded config in modules
Browse files Browse the repository at this point in the history
  • Loading branch information
apetkau committed Jan 25, 2024
1 parent ba17901 commit 13a4284
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 37 deletions.
36 changes: 0 additions & 36 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,48 +12,12 @@

process {

// Publish directory names
assembly_directory_name = "assembly"
summary_directory_name = "summary"

publishDir = [
path: { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]

withName: SAMPLESHEET_CHECK {
publishDir = [
path: { "${params.outdir}/pipeline_info" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: ASSEMBLY_STUB {
publishDir = [
path: { ["${params.outdir}", "${task.assembly_directory_name}"].join(File.separator) },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: GENERATE_SUMMARY {
publishDir = [
path: { ["${params.outdir}", "${task.summary_directory_name}"].join(File.separator) },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: IRIDA_NEXT_OUTPUT {
publishDir = [
path: { "${params.outdir}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: CUSTOM_DUMPSOFTWAREVERSIONS {
publishDir = [
path: { "${params.outdir}/pipeline_info" },
Expand Down
2 changes: 1 addition & 1 deletion conf/test_full.config
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ params {
config_profile_description = 'Full test dataset to check pipeline function'

// Input data for full size test
input = 'https://raw.githubusercontent.com/phac-nml/iridanextexample/main/assets/samplesheet.csv'
input = 'https://raw.githubusercontent.com/phac-nml/fetchdatairidanext/dev/assets/samplesheet.csv'
}

0 comments on commit 13a4284

Please sign in to comment.