From 79827198b1e025c0ed879dc9ca5da2892ad7257e Mon Sep 17 00:00:00 2001 From: ViralVerity Date: Mon, 5 Oct 2020 19:45:33 +0100 Subject: [PATCH] add in label field fix --- civet/scripts/make_tree_figures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/civet/scripts/make_tree_figures.py b/civet/scripts/make_tree_figures.py index bd350520..678c7dff 100644 --- a/civet/scripts/make_tree_figures.py +++ b/civet/scripts/make_tree_figures.py @@ -93,7 +93,7 @@ def display_name(tree, tree_name, tree_dir, full_taxon_dict, query_dict, custom_ if name in query_dict.keys(): for label_element in custom_tip_fields: if count == 0: - display_name = taxon_obj.attribute_dict[label_element] + display_name = name else: display_name = display_name + "|" + taxon_obj.attribute_dict[label_element] count += 1