So excited for next week folks!
Now to a real issue.
I must be really missing something basic...
I understand the below returns false because of the different Mol
instances, but is there an "easyish" way (without comparing inchis,
fingerprints, converting to canonical Smiles etc) how to override the == to
return True?
>>> import rdkit
>>> from rdkit import Chem
>>> m1 = Chem.MolFromSmiles('CC')
>>> m2 = Chem.MolFromSmiles('CC')
>>> m1 == m2
False
Many Thanks and See you soon !
-
Jean-Paul Ebejer
Early Stage Researcher
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss