Skip to content

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