Skip to content

Add function to filter hydrogen atoms #758

@padix-key

Description

@padix-key

Currently Biotite filters out hydrogen atoms using atoms.element != H throughout the code base. However, this does not cover the edge case, where a structure contains deuterium atoms (D). Hence I propose

  • adding a function (e.g. called filter_heavy_atoms()) that filters out both hydrogen and deuterium
  • replacing existing checks in the code base with this new function

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions