Skip to content

Commit

Permalink
Adjust formatting
Browse files Browse the repository at this point in the history
- align equal signs
  • Loading branch information
tstoeriko authored Mar 20, 2024
1 parent c34b33b commit fa87ed1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/nf-core/svtyper/svtypersso/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ process SVTYPER_SVTYPERSSO {
task.ext.when == null || task.ext.when

script:
def args = task.ext.args ?: ''
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
def vcf = vcf ? "--input_vcf ${vcf}" : ""
def vcf = vcf ? "--input_vcf ${vcf}" : ""
def fasta = fasta ? "--ref_fasta ${fasta}" : ""
if ("$vcf" == "${prefix}.vcf") error "Input and output names are the same, set prefix in module configuration to disambiguate!"
if ("$bam" == "${prefix}.bam") error "Input and output names are the same, set prefix in module configuration to disambiguate!"
Expand All @@ -43,7 +43,7 @@ process SVTYPER_SVTYPERSSO {
"""

stub:
def args = task.ext.args ?: ''
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
"""
touch ${prefix}.json
Expand Down

0 comments on commit fa87ed1

Please sign in to comment.