Commit d77297e
committed
Restore clades to top entry in colorings
The intention of the coloring logic is that if an auspice-config provides
the clade_membership key then it is exported at that position in the
colorings list. If clade_membership is not explicitly set in the config
(but is present in a node-data file) then we have (for a very long time)
added it as the very first entry in the colorings list.
PR #728 (augur v22.0.0) erroneously modified the behavior of the second
case described above, which has now been restored by this commit.1 parent 5daf6e8 commit d77297e
File tree
2 files changed
+6
-5
lines changed- augur
- tests/functional/export_v2
2 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
798 | 798 | | |
799 | 799 | | |
800 | 800 | | |
| 801 | + | |
801 | 802 | | |
802 | | - | |
| 803 | + | |
803 | 804 | | |
804 | 805 | | |
805 | 806 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments