-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check branch labels upon v2 dataset JSON validation
If a default branch label is set in the JSON then ensure it is defined on at least one node in the tree. We allow the special case of setting the default label to `none`. Note that `augur export` currently only exports clade and/or aa labels, but we should still be able to validate JSONs made somewhere else. A test build is added.
- Loading branch information
1 parent
300410a
commit 90ed862
Showing
3 changed files
with
20 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
rule all: | ||
shell: | ||
""" | ||
augur validate export-v2 auspice/v2_zika.json | ||
""" |