Hey folks,
I am trying to fire up a script with pymol -r doit.pml
PyMOL>run doit.pml,main
Traceback (most recent call last):
File "/sw/lib/pymol-py25/modules/pymol/parser.py", line 334, in parse
parsing
.run_file(exp_path(layer.args[0]),__main__.__dict__,__main__.__dict__)
File "/sw/l
> I am trying to fire up a script with pymol -r doit.pml
pymol doit.pml should be sufficient (no need for -r).
>File "doit.pml", line 2
> select resname SOL
Unless the syntax has changed, try 'select resname, SOL'. Does this
script work when run from an already started pymol?
Pete
Martin,
-r is for running Python programs in the __main__ namespace.
For PyMOL command scripts, simply:
pymol doit.pml
Cheers,
Warren
> -Original Message-
> From: Martin Höfling [mailto:martin.hoefl...@gmx.de]
> Sent: Friday, February 20, 2009 8:50 AM
> To: pymol-users@lists.sourcefor
Am 20.02.2009 um 17:54 schrieb Pete Meyer:
I am trying to fire up a script with pymol -r doit.pml
pymol doit.pml should be sufficient (no need for -r).
Oh ok, without -r it works :-)
Best
Martin