We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d07c7a commit f99a856Copy full SHA for f99a856
1 file changed
scaffoldgraph/core/graph.py
@@ -38,6 +38,14 @@ def init_molecule_name(mol):
38
----------
39
mol : rdkit.Chem.rdchem.Mol
40
41
+ Notes
42
+ -----
43
+ Since rdkit 2020.09.01 the GetMolHashString has been
44
+ deprecated. If using an rdkit version >= 2020.09.01
45
+ the function sets the name to 'MolNode-' plus the
46
+ canonical smiles. This prevents collisions with
47
+ scaffolds which are hashed using their canonical smiles.
48
+
49
"""
50
if not mol.HasProp('_Name') or mol.GetProp('_Name') == '':
51
if rdversion < '2020.09.01':
0 commit comments