Hmm. Running scripts has always worked for me on a mac.

Could it be a tab/space problem, or just a character missing at the
end from a copy/paste?

gilleain torrance

On Thu, Feb 28, 2008 at 2:50 PM, Sadler, Evan <esad...@dom.wustl.edu> wrote:
> 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
>
>
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by: Microsoft
>  Defy all challenges. Microsoft(R) Visual Studio 2008.
>  http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>  _______________________________________________
>  PyMOL-users mailing list
>  PyMOL-users@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/pymol-users
>

Reply via email to