I can run scripts by pasting them, but they fail when I try to read them
from a file, as in:

PyMOL> run ~/scriptfolder/rasmolify.py

This generates lots of errors:

Traceback (most recent call last):
  File "/Applications/MacPyMOL.app/pymol/modules/pymol/parser.py", line 333,
in parse

parsing.run_file(exp_path(layer.args[0]),self.pymol_names,self.pymol_names)
  File "/Applications/MacPyMOL.app/pymol/modules/pymol/parsing.py", line
456, in run_file
    execfile(file,global_ns,local_ns)
  File "/Users/evansadler/pymolscripts/rasmolify.py", line 3

     ^
 SyntaxError: invalid syntax

Some result for MacPyMOL and X11 hybrid

What am I doing wrong?

Evan
--
J. Evan Sadler, M.D., Ph.D.
Howard Hughes Medical Institute
Washington University
660 S. Euclid Ave., Box 8022
St. Louis, MO   63110
Tel: 314-362-9067
FAX: 314-454-3012
email: esad...@wustl.edu



Reply via email to