Skip to content

Commit

Permalink
Merge branch 'main' into dev-lena-benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
esalx authored Oct 15, 2024
2 parents da11b37 + 01e5a32 commit 6a69a52
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions molli/chem/bond.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,13 @@ def get_mol2_type(self) -> str:

case BondType.NotConnected:
return MOL2_BOND_TYPE_MAP.inverse[BondType.NotConnected]

#Mol2 Format Doesn't Recognize Multi-Attachment Bonds Natively
case BondType.Ligand:
return MOL2_BOND_TYPE_MAP.inverse[BondType.Unknown]

case _:
return MOL2_BOND_TYPE_MAP.inverse[BondType.Unknown]


class Connectivity(Promolecule):
Expand Down

0 comments on commit 6a69a52

Please sign in to comment.