Measure Distance

From PyMOLWiki
Revision as of 16:26, 6 May 2005 by Inchoate (talk | contribs)
Jump to: navigation, search
from pymol import cmd
f=open('dist.txt','w')
dst=cmd.distance('tmp','mol1///25/ha','mol1///26/ha')
f.write("%8.3f\n"%dst)
f.close()