Skip to content

Commit

Permalink
Fixed typo in num lines check
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil committed Jul 12, 2023
1 parent 0264442 commit 13833c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cwl/samples_fillout_workflow.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ steps:
fasta="${ return inputs.ref_fasta.path; }"
vcf="${ return inputs.targets_vcf.path }"
fillout_vcf="fillout.vcf"
num_lines="\$(grep -v '^[#]' \${input_maf} | wc -l)"
num_lines="\$(grep -v '^[#]' \${vcf} | wc -l)"
more_than_zero="\$(( \${num_lines} > 0))"
if [ "\${more_than_zero}" == "1" ]
then
Expand Down

0 comments on commit 13833c3

Please sign in to comment.