Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maxulysse committed May 30, 2021
1 parent 77a5c65 commit 4fbbf80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions modules/nf-core/software/gatk4/markduplicates/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ options = initOptions(params.options)
process GATK4_MARKDUPLICATES {
tag "$meta.id"
label 'process_low'
publishDir params.outdir, mode: params.publish_dir_mode,
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) }
publishDir "${params.outdir}",
mode: params.publish_dir_mode,
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), meta:meta, publish_by_meta:['id']) }

conda (params.enable_conda ? "bioconda::gatk4=4.2.0.0" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
Expand Down
2 changes: 1 addition & 1 deletion tests/subworkflows/local/markduplicates/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ nextflow.enable.dsl = 2
// Don't overwrite global params.modules, create a copy instead and use that within the main script.
def modules = params.modules.clone()

include { MARKDUPLICATES } from '../../../../subworkflow/local/markduplicates' addParams(
include { MARKDUPLICATES } from '../../../../subworkflows/local/markduplicates' addParams(
markduplicates_options: modules['markduplicates']
)

Expand Down

0 comments on commit 4fbbf80

Please sign in to comment.