Skip to content

existing proton hunt tries to find H name that doesn't exist #404

Description

@rimmartin

Hi all,
at https://github.com/project-gemmi/gemmi/blob/master/src/dssp.cpp#L119

    h_pos = donor->res->find_atom("H", '*', El::H)->pos;

returns a nullptr on donor->res->find_atom("H", '*', El::H) and will crash in the case of the n-terminal residue. These have H1, H2 and/or H3 protons.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions