Skip to content

Fix panic if bond refers to missing atoms#25

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

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

Conversation

@padix-key
Copy link
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 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