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 hydration error from translocation features in plaintext VCF adapter #4220

Merged
merged 3 commits into from Feb 19, 2024

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Feb 19, 2024

the mismatch was between trying to do a 'premature optimization' of lazily creating VcfFeature objects, and manually calculating feature.start and feature.end from the plaintext line before the VcfFeature was created instead of relying on VcfFeature parsing of the line, but turns out parsing the start/end is not easy, so this removes the lazy creating routine which fixes feature.start and feature.end parsing (which downstream fixes the hydration error)

fixes #4214

@cmdcolin cmdcolin merged commit d2cba6d into main Feb 19, 2024
10 checks passed
@cmdcolin cmdcolin deleted the fix_hydrate branch February 19, 2024 18:52
@cmdcolin cmdcolin added the bug Something isn't working label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hydration error loading plaintext VCF
1 participant