Skip to content

fix: error with cyvcf2>0.32 when loading a VCF/PVAR w/o --region - #284

Merged
aryarm merged 7 commits into
mainfrom
fix/plinktr
Oct 30, 2026
Merged

aryarm merged 7 commits into
mainfrom
fix/plinktr

Conversation

@aryarm

@aryarm aryarm commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

This PR handles a backwards-incompatible change in versions of cyvcf2 > 0.32.0, which was causing somewhat non-deterministic errors for haptools users. It also updates our internal development version to py3.11, the oldest version of python which is not end-of-life.

Big thanks to @mrkylesmith for identifying this bug and its solution!

More details about the cyvcf2 change can be found here:
https://github.com/brentp/cyvcf2/blob/main/CHANGES.md#v0320
brentp/cyvcf2@a1e1220

@aryarm aryarm changed the title fix: error when loading a TR PVAR file without --region fix: error when loading a TR PVAR file without --region and update to py3.11 Oct 14, 2026
@aryarm aryarm changed the title fix: error when loading a TR PVAR file without --region and update to py3.11 fix: error with cyvcf2>0.32 when loading a VCF/PVAR w/o --region Oct 14, 2026
@aryarm
aryarm marked this pull request as ready for review October 14, 2026 21:54
Comment thread .github/workflows/release.yml Resolved
Comment thread .github/workflows/tests.yml Resolved
Co-authored-by: Arya Massarat <23412689+aryarm@users.noreply.github.com>
@aryarm
aryarm requested a balanced review from Copilot October 15, 2026 21:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@aryarm
aryarm requested a review from mrkylesmith October 15, 2026 21:31
@mrkylesmith

Copy link
Copy Markdown

I can confirm that I'm no longer seeing the Genotypes.check_missing ValueError raised (here) in my usage of haptools anymore. Thanks @aryarm!

@aryarm

aryarm commented Oct 30, 2026

Copy link
Copy Markdown
Member Author

hoorah! 🎊

thanks for checking, kyle!

@aryarm
aryarm merged commit 3ff41e7 into main Oct 30, 2026
15 checks passed
@aryarm
aryarm deleted the fix/plinktr branch October 30, 2026 03:58
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.

3 participants