-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not produce duplicate coloring entries
The logic for creating colorings involves many steps, and when adding a coloring we had neglected to check if it had already been added. For instance, colorings explicitly defined in the auspice-config which were provided via node-data files (rather than the metadata tsv) would be added twice. In our current nCoV build there are 7 such duplicates! There were also a few duplicates that were present in our tests. Whoops! These weren't a problem for auspice (the first was used), but added unnecessary complexity and bytes to the JSON. Closes #719
- Loading branch information
1 parent
497a5ea
commit 5daf6e8
Showing
4 changed files
with
10 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters