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