RE: [PyMOL] Using the Pymol Run command

2005-10-03 Thread Warren DeLano
s > Sent: Monday, October 03, 2005 10:59 AM > To: Warren DeLano > Cc: pymol-users@lists.sourceforge.net > Subject: RE: [PyMOL] Using the Pymol Run command > > Hi Warren and Gilleain - thanks for your rapid answers. For > now I am simply using 'run' on the command line a

RE: [PyMOL] Using the Pymol Run command

2005-10-03 Thread Terry Jones
Hi Warren and Gilleain - thanks for your rapid answers. For now I am simply using 'run' on the command line and it works fine. | Gilleain is right on about the run command. On Windows and linux, you | can also create .pym files that will specifically open into PyMOL. I don't understand this. |

RE: [PyMOL] Using the Pymol Run command

2005-10-03 Thread Warren DeLano
October 03, 2005 5:03 AM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] Using the Pymol Run command > > Hi all > > I've written some python code that I want to run from inside > pymol using the File/Run command. After some playing around > looking at

Re: [PyMOL] Using the Pymol Run command

2005-10-03 Thread Gilleain Torrance
Hi, You can run arbitrary python programs using the command line "run" command: run path_to_programs/python_program.py The File->Run menu seems to prefer .pml files (that is, the dialog filters out all but these). And I think that pml files are meant for line by line interpreting.

[PyMOL] Using the Pymol Run command

2005-10-03 Thread Terry Jones
Hi all I've written some python code that I want to run from inside pymol using the File/Run command. After some playing around looking at error messages and the pymol source, I saw that pymol is reading my file line by line and passing each line to eval. So if my file contains lines that are eac