Hi there, I have bunch of structures in the session but only one of them (molA) displayed. I'm trying to select atoms within a given radius from my point of interest. When I do select cont,(/molA//s/401 around 4) it sure selects all atoms from molA that are within 4 A from residue 401 but it also selects ALL other atoms from the current session (but not displayed) that are within 4 A. What needs improvement - the program or my command? Cheers, n.
Ruslan Sanishvili (Nukri) Ph.D. GM/CA-CAT, ANL 9700 S. Cass Ave. Argonne, IL 60439 Tel (630)252-0665 Fax (630)252-0667 rsanishv...@anl.gov ----- Original Message ----- From: "Robert Campbell" <r...@post.queensu.ca> To: <pymol-users@lists.sourceforge.net> Sent: Thursday, February 06, 2003 9:00 AM Subject: Re: [PyMOL] nice povray settings? > Oooops.... > > I <r...@post.queensu.ca> [2003-02-05 11:42] wrote: > > > > I typically use the following script (I call it make_pov.py) and > > "run" it from pymol once to load the function, and then I do > > "make_pov('povray.inp')" to create the povray.inp file. > > But of course I forgot to include the script, which is very short: > > # make_pov.py > # Do "run make_pov.py" from within pymol and then execute the script > # with "make_pov('povray.inp')" to create the povray.inp file. > # > from pymol import cmd > > def make_pov(file): > (header,data) = cmd.get_povray() > povfile=open(file,'w') > povfile.write(header) > povfile.write(data) > povfile.close() > > > Cheers, > Robert > -- > Robert L. Campbell, Ph.D. <r...@post.queensu.ca> > Senior Research Associate phone: 613-533-6821 > Dept. of Biochemistry, Queen's University, fax: 613-633-2497 > Kingston, ON K7L 3N6 Canada > PGP Fingerprint: 9B49 3D3F A489 05DC B35C 8E33 F238 A8F5 F635 C0E2 > (out of date web site:http://biophysics.med.jhmi.edu/rlc) > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users > >