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

feat: remove missing geo_resolutions warning #1791

Merged
merged 2 commits into from
Jun 13, 2024
Merged

feat: remove missing geo_resolutions warning #1791

merged 2 commits into from
Jun 13, 2024

Conversation

ivan-aksamentov
Copy link
Member

@ivan-aksamentov ivan-aksamentov commented Jun 13, 2024

Description of proposed changes

When .meta.geo_resolutions are not present, Auspice prints a console warning:

JSONs did not include `geoResolutions`

My understanding is that it is not a required field: https://github.com/nextstrain/augur/blob/0eab3357376f0fe7347fe60dd75dbc2fb01bed33/augur/data/schema-export-v2.json#L18 and auspice can function without it.

It seems to have been added a long time ago:
https://github.com/nextstrain/auspice/blame/a537d390e6a54214ea084240a292da786479693e/src/actions/recomputeReduxState.js#L548

I propose to remove the warning. My goal here is to clean up the dev console of Nextclade. Just being a purist here (I like my console to be clean :)), but if this warning is useful in other contexts, I don't insist.

Related issue(s)

Checklist

When` .meta.geo_resolutions` are not present, Auspice prints a console warning:
```
JSONs did not include `geoResolutions`
```

My understanding is that it is not a required field:
https://github.com/nextstrain/augur/blob/0eab3357376f0fe7347fe60dd75dbc2fb01bed33/augur/data/schema-export-v2.json#L18
and auspice can function without it.

It seems to have been added a long time ago:
https://github.com/nextstrain/auspice/blame/a537d390e6a54214ea084240a292da786479693e/src/actions/recomputeReduxState.js#L548

I propose to remove the warning. My goal here is to clean up the dev console of Nextclade. Just being a purist here (I like my console to be clean :)), but if this warning is useful in other contexts, I don't insist.
@ivan-aksamentov ivan-aksamentov requested a review from a team June 13, 2024 09:24
Copy link
Member

@jameshadfield jameshadfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bugged me the other day too. Thanks for fixing!

@jameshadfield jameshadfield merged commit 03013db into nextstrain:master Jun 13, 2024
22 checks passed
@ivan-aksamentov ivan-aksamentov deleted the feat/remove-missinggeo-resolutions-warning branch June 13, 2024 10:05
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