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

fix: make legacy mapping use {clade} (Omicron) by default #473

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

corneliusroemer
Copy link
Member

@corneliusroemer corneliusroemer commented Aug 22, 2024

Resolves #471

I forgot to update the clade-legacy-mapping.yml with the last clade update (24C). As a result, the Nextstrain_clade output for 24C was wrong (? instead of 24C (Omicron)).

To reduce maintenance effort, we now use {value} (Omicron) as the default mapping. This means one less file to update when clades are updated. If there's ever a non-Omicron again, we'd have to updated clade-legacy-mapping.yml but WHO has stopped giving variant names and there's nothing left that's not Omicron. So this should work into the indefinite future (until Emma stops using Nextstrain_clade - she's possibly the only user of that backwards-compat column)

Checklist

  • Checks pass
  • Ping Emma once this is fixed for good in the actual s3 files.

Resolves #471
I forgot to update the clade-legacy-mapping.yml with the last clade update (24C). As a result, the Nextstrain_clade output for 24C was wrong (`?` instead of `24C (Omicron)`).

To reduce maintenance effort, we now use `{value} (Omicron)` as the default mapping. This means one less file to update when clades are updated. If there's ever a non-Omicron again, we'd have to updated `clade-legacy-mapping.yml` but WHO has stopped giving variant names and there's nothing left that's not Omicron. So this should work into the indefinite future (until Emma stops using `Nextstrain_clade` - she's possibly the only user of that backwards-compat column)
@corneliusroemer
Copy link
Member Author

Merging this as I have high confidence this change will work - if not we can revert and/or fix tomorrow

@corneliusroemer corneliusroemer merged commit 12c8f5a into master Aug 22, 2024
1 check passed
@corneliusroemer corneliusroemer deleted the fix-legacy-mapping branch August 22, 2024 17:42
corneliusroemer added a commit that referenced this pull request Aug 22, 2024
@corneliusroemer
Copy link
Member Author

Famous last words - of course there was an issue: I forgot the parens around (Omicron), fixed in 8276d22

@corneliusroemer
Copy link
Member Author

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.

The Nextstrain_clade column does not contain 24C, but ? instead.
1 participant