Use "spawn" instead of "run".

Cheers,

DeLano Scientific LLC
Subscriber Support Services
mailto:del...@delsci.info
 
"Not yet a PyMOL Subscriber, but want to support the project?  Email
sa...@delsci.com to quote your lab, school, or employer.  Thank you for
sponsoring this open-source endeavor!" -WLD
 

> -----Original Message-----
> From: pymol-users-boun...@lists.sourceforge.net 
> [mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf 
> Of Gianluca Santarossa
> Sent: Monday, June 04, 2007 9:49 AM
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] Adding 'interactive' script to pymol
> 
> Hi everybody,
> I would like to run a pylab script from pymol command line, 
> to generate a 2d plot of some properties, so that I can 
> associate the values of the properties to any frame of the trajectory.
> 
> If I just use the command 'run example.py' the script runs 
> correctly, but of course Pymol is waiting for the script to 
> exit before performing any action.
> How can I avoid this behaviour and have both the script and 
> Pymol run at the same time?
> I suppose there is a very easy trick to do that, but I don't 
> have any idea on how to start...
> Thanks,
> Gianluca
> --
> ==============================================================
> Gianluca Santarossa
> Institute for Chemical and Bioengineering Department of 
> Chemistry and Applied Biosciences ETH Zurich, Hönggerberg, 
> HCI, 8093 Zurich
> 
> Phone: +41 44 633 4232
> E-Mail: gianluca.santaro...@chem.ethz.ch 
> ==============================================================
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by DB2 Express Download DB2 
> Express C - the FREE version of DB2 express and take control 
> of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users


Reply via email to