Re: [PyMOL] Distances and Python scripts

2007-06-18 Thread Andreas Henschel
Hi Xavier, here is a naive approach to solve problem 2), which should include your first problem. # from pymol import cmd, stored ## setup myProt = "2gsm" mySegm = "" myChain = "B" cmd.fetch(myProt) outfile = open("/tmp/n_

[PyMOL] Distances and Python scripts

2007-06-18 Thread Xavier HANOULLE
Hi all, I have 2 problems regarding the distance command and python scripting: 1/ I would like to use a script in order to print in a file the results of this following command:        distance dist6, (/MyProt/MyProt/A/181/N), (/MyProt/MyProt/A/*/N), 6.0 This command displays distances and d