Skip to content

Commit

Permalink
Add clade annotation to plotting test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjcroucher committed Sep 8, 2023
1 parent f3893f4 commit 7de52b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/gubbins/tests/test_python_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,10 @@ def test_recombination_counting_per_gene(self):
anno_input = os.path.join(data_dir, "test_annotation.gff")
markup_input = os.path.join(data_dir, "test_markup.csv")
meta_input = os.path.join(data_dir, "test_epi.csv")
clades_input = os.path.join(data_dir, "test_clades.csv")
fig_output = os.path.join(data_dir, "test_plot.pdf")
plot_cmd = "plot_gubbins.R --tree " + tree_input + " --rec " + rec_input + " --markup " + markup_input + " --annotation " + anno_input \
+ " --meta " + meta_input + " --output " + fig_output
+ " --meta " + meta_input + " --clades " + clades_input + " --output " + fig_output
subprocess.check_call(plot_cmd, shell=True)
os.remove(fig_output)

Expand Down

0 comments on commit 7de52b9

Please sign in to comment.