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 invalid CIF/BCIF files created when file is edited #659

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

padix-key
Copy link
Member

Currently, when CIF or BinaryCIF files are not created from scratch, but the files already contain untouched blocks or categories, the file is corrupted when written. This PR adds a test to cover this case and fixes the problem mentioned above.

Fixes #658.

Copy link

codspeed-hq bot commented Sep 5, 2024

CodSpeed Performance Report

Merging #659 will not alter performance

Comparing padix-key:cif (2dddcba) with main (dc691a5)

Summary

✅ 12 untouched benchmarks

@padix-key padix-key merged commit d0107fa into biotite-dev:main Sep 9, 2024
23 checks passed
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.

The format of the mmCIF file after changing the block and saving is broken
1 participant