Hi pkb bioinfo (which I do hope is not your real name),
Did you actually paste the script or did you retype it?
> from pymol import cmd
> from glob import glob
>
> lst = glob("*.pdb")
> lst.sort()
>
> for fil in lst:
> cmd.load(fil,"tmp")
> dst=cmd.distance('/tmp//A/LYS`203/NZ','/tmp//A/GLU`145/OE2')
> print lst
You set dst to be the distance, and then you print lst...
Cheers,
Tsjerk
--
Tsjerk A. Wassenaar, Ph.D.
Junior UD (post-doc)
Biomolecular NMR, Bijvoet Center
Utrecht University
Padualaan 8
3584 CH Utrecht
The Netherlands
P: +31-30-2539931
F: +31-30-2537623
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]