Skip to content
This repository was archived by the owner on Jun 21, 2026. It is now read-only.

Fix panic if bond refers to missing atoms#25

Open
padix-key wants to merge 1 commit into
biotite-dev:mainfrom
padix-key:bond-bug
Open

Fix panic if bond refers to missing atoms#25
padix-key wants to merge 1 commit into
biotite-dev:mainfrom
padix-key:bond-bug

Conversation

@padix-key

Copy link
Copy Markdown
Member

biotite-dev/biotite#810 fixed a bug that lead to wrong bonds when a CONECT record refers to atom IDs that are missing in the ATOM/HETATOM records. The reason for this could either be filtered atoms due to altlocs or a malformatted file.

While in biotite this lead merely to spurious bonds, in fastpdb this causes a panic. This PR fixes this oversight.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant