Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
sage-wright committed Jun 13, 2023
1 parent c5d2f38 commit 9b0d58b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/phylogenetic_inference/task_ksnp3.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ task ksnp3 {
mv -v ksnp3/core_SNPs_matrix.fasta ksnp3/~{cluster_name}_core_SNPs_matrix.fasta
mv -v ksnp3/tree.core.tre ksnp3/~{cluster_name}_core.nwk

if [ -s ~{cluster_name}_core_SNPs_matrix.fasta ]; then # is the file not-empty?
if [ -s ksnp3/~{cluster_name}_core_SNPs_matrix.fasta ]; then # is the file not-empty?
echo "The core SNP matrix was produced" | tee SKIP_SNP_DIST # then do NOT skip
else
echo "The core SNP matrix could not be produced" | tee SKIP_SNP_DIST # otherwise, skip
Expand Down

0 comments on commit 9b0d58b

Please sign in to comment.