Skip to content

Commit

Permalink
Merge pull request #93 from theiagen/smw-ksnp3-dev
Browse files Browse the repository at this point in the history
fix path
  • Loading branch information
kevinlibuit authored Jun 13, 2023
2 parents c5d2f38 + 9b0d58b commit 8937a65
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 8937a65

Please sign in to comment.