Describe the bug
A clear and concise description of what the bug is.
function filter_atoms_h_only_h_mapped filters mapped heavy atoms where they are different elements.
In this condition, only same elements including heavy atoms are mapped. But this function should only filter hydrogen <-> heavy atoms according to function name and doc.
if (atomA.GetAtomicNum() == atomB.GetAtomicNum() == 1) or (
atomA.GetAtomicNum() == atomB.GetAtomicNum() != 1
):
Describe the bug A clear and concise description of what the bug is.
function filter_atoms_h_only_h_mapped filters mapped heavy atoms where they are different elements.
In this condition, only same elements including heavy atoms are mapped. But this function should only filter hydrogen <-> heavy atoms according to function name and doc.