Skip to content

Conversation

padix-key
Copy link
Member

As discussed in #773, This PR creates continuously incrementing res_ids for hetero residues in a structure loaded with pdbx.get_structure(use_author_fields=False).
Previously, those hetero residue IDs would be [-1, -1, -1, ...] making it impossible to infer residue boundaries with structure.get_residue_starts() (#553). With this PR those residue IDs would be [1, 2, 3, ...].

Fixes #553.

Copy link

codspeed-hq bot commented Aug 19, 2025

CodSpeed Performance Report

Merging #823 will not alter performance

Comparing padix-key:issue-553 (e4afe9b) with main (7474d90)

Summary

✅ 59 untouched benchmarks

@padix-key padix-key merged commit 0826672 into biotite-dev:main Aug 22, 2025
24 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.

missing bonds if use_author_fields=False when two same CCD together in wwPDB .cif file
1 participant