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

RecommendedCutoffMixin: Remove workaround for stringency units #147

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Jan 24, 2023

Fixes #76

A workaround was added in v0.6 for families with recommended cutoffs that were installed with v0.5 since that older version didn't explicitly store the units of the stringencies in the extras which the new API assumed would always be there.

The workaround would account for the lack of this extra and would automatically introduce it (in a sense migrating the old family to be compatible with the new API) the first time it would be requested.

Almost two years has passed since the release of v0.6 which should have been plenty for existing families to have been migrated through this workaround and so it can now be removed.

A workaround was added in `v0.6` for families with recommended cutoffs
that were installed with `v0.5` since that older version didn't
explicitly store the units of the stringencies in the extras which the
new API assumed would always be there.

The workaround would account for the lack of this extra and would
automatically introduce it (in a sense migrating the old family to be
compatible with the new API) the first time it would be requested.

Almost two years has passed since the release of `v0.6` which should
have been plenty for existing families to have been migrated through
this workaround and so it can now be removed.
@sphuber sphuber requested a review from mbercx January 24, 2023 11:47
Copy link
Member

@mbercx mbercx left a comment

Choose a reason for hiding this comment

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

Thanks @sphuber, LGTM! 🚀

@sphuber sphuber force-pushed the fix/076/recommended-cutoff-mixin-workaround branch from 880c300 to f6749df Compare January 24, 2023 14:20
@sphuber sphuber merged commit 593cbfe into master Jan 24, 2023
@sphuber sphuber deleted the fix/076/recommended-cutoff-mixin-workaround branch January 24, 2023 14:29
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.

RecommendedCutoffMixin: remove units workaround for backwards compatibility
2 participants