Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check colors & geo locations are defined in metadata #192

Merged
merged 1 commit into from
Aug 6, 2018

Conversation

jameshadfield
Copy link
Member

These changes were prompted by this nextstrain/auspice#608

A geo_location defined in the tree but without corresponding lat/longs in metadata is an error.

ColorBy traits sometimes have a corresponding color_map (v1) or domain (v2). If a value appears in the tree but not in the meta for these cases a warning is now raised.

* for colors this is only if a color_map is defined
* tested for both v1 & v2 JSONs
@jameshadfield jameshadfield merged commit bd61f57 into master Aug 6, 2018
@jameshadfield jameshadfield deleted the validate branch August 6, 2018 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants