Good evening,

I am trying to superimpose a pair of conformers of the same molecule
(files attached) using GetBestRMS. It does not seem to work if I keepĀ 
the hydrogens.

m0 = Chem.MolFromMolFile('tgt.mol',removeHs=False)
m1 = Chem.MolFromMolFile('qry.mol',removeHs=False)
print AllChem.GetBestRMS(m0,m1)
f = open('WithH.mol','w')
f.write(Chem.MolToMolBlock(m1))
f.close()

However, if I don't use the "removeHs=False" option, it works fine.
Any idea?

Ling

Attachment: qry.mol
Description: Binary data

Attachment: tgt.mol
Description: Binary data

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to