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

Detect duplicate or missing node names #1514

Merged
merged 1 commit into from
May 26, 2022

Conversation

jameshadfield
Copy link
Member

Every now and again we have an issue with a dataset with duplicate
node names, which results in an incredibly uninformative auspice
stack trace. While this is ultimately a problem with the dataset itself
it's simple to detect this and change it to a unique name within
Auspice (with a helpful console message). For good measure we also
deal with the case where a node name was missing entirely.

Note that both of these datasets would fail augur validate export-v2 <JSON>.

Every now and again we have an issue with a dataset with duplicate
node names, which results in an incredibly uninformative auspice
stack trace. While this is ultimately a problem with the dataset itself
it's simple to detect this and change it to a unique name within
Auspice (with a helpful console message). For good measure we also
deal with the case where a node name was missing entirely.

Note that both of these datasets would fail `augur validate export-v2 <JSON>`.
@jameshadfield jameshadfield force-pushed the fix/duplicate-node-names branch from 9447f8e to 10e5407 Compare May 26, 2022 02:00
@jameshadfield jameshadfield mentioned this pull request May 26, 2022
@jameshadfield jameshadfield merged commit ae6c8b5 into master May 26, 2022
@jameshadfield jameshadfield deleted the fix/duplicate-node-names branch May 26, 2022 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

1 participant