diff --git a/augur/export_v2.py b/augur/export_v2.py index d380823b9..1fb2f43c6 100644 --- a/augur/export_v2.py +++ b/augur/export_v2.py @@ -798,8 +798,9 @@ def node_data_prop_is_normal_trait(name): "authors", # authors are set as a node property, not a trait property "author", # see above "vaccine", # vaccine info is stored as a "special" node prop + 'clade_membership', # explicitly set as a coloring if present 'branch_length', - 'num_date', + 'num_date', # explicitly set as a coloring if present 'raw_date', 'numdate', 'clock_length', diff --git a/tests/functional/export_v2/dataset-with-branch-labels.json b/tests/functional/export_v2/dataset-with-branch-labels.json index d09dfb61a..4bcedc468 100644 --- a/tests/functional/export_v2/dataset-with-branch-labels.json +++ b/tests/functional/export_v2/dataset-with-branch-labels.json @@ -25,13 +25,13 @@ }, "colorings": [ { - "key": "gt", - "title": "Genotype", + "key": "clade_membership", + "title": "Clade", "type": "categorical" }, { - "key": "clade_membership", - "title": "Clade", + "key": "gt", + "title": "Genotype", "type": "categorical" } ],