Skip to content

Commit 9b9ea39

Browse files
committed
Fix pythonizing of CMAP named attributes.
1 parent 0bf7b5f commit 9b9ea39

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/sire/_pythonize.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ def _pythonize(C, delete_old: bool = True) -> None:
105105
# change "RDKit" to "Rdkit"
106106
new_attr = new_attr.replace("RDKit", "Rdkit")
107107

108+
# change "CMAP" into "Cmap" (it will then be converted to _cmap by
109+
# the code below)
110+
new_attr = new_attr.replace("CMAP", "Cmap")
111+
108112
# change "MCS" into "Mcs" (it will then be converted to _mcs by
109113
# the code below)
110114
new_attr = new_attr.replace("MCS", "Mcs")

0 commit comments

Comments
 (0)