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

Automatically translate VariantRecord on write #1270

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kkchau
Copy link

@kkchau kkchau commented Feb 26, 2024

Enable auto-translation of VariantRecord headers on write when a different header is detected.

Current functionality does not check if headers match on write, potentially resulting in (silent and dangerous) reshuffling of fields, e.g. when header records are ordered differently. Uncomment the lines that detects header differences and translates the VariantRecord to the new header to be written.

@kkchau
Copy link
Author

kkchau commented Feb 27, 2024

These commented lines were added in kkchau@c30ead4 and kkchau@36eb1da but commented out. Not sure if there is still work that needs to be done (if so, I can close this PR), but seems to work after a couple of tests

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.

1 participant