[Chimera-users] running command scripts
pett at cgl.ucsf.edu
Wed Jan 27 10:50:00 PST 2010
On Jan 27, 2010, at 10:02 AM, Michael Zimmermann wrote:
> Dear Chimera users,
> I am getting to know Chimera a bit more and was just going through the
> scripting tutorial here:
> For the command line script 1gfl.com, the tutorial just says "run it"
> but does not say how. I just typed "run 1gfl.com" in the chimera
> command line, but I get a syntax error in the script. I can't seem to
> copy the error text, so a screenshot is attached. Is this an issue
> with the script or how I am running it?
> I use chimera v. 1.4 on win XP - 64bit
It's an issue with how you are running it. There is no "run" command
per se, but since Chimera allows you to shorten command names "run" is
equivalent to "runscript", which executes a Python script (optionally
with arguments). Since the script is Chimera commands, not Python,
you naturally get a syntax error. To run the script you should use
the "open" command or File...Open in the menus.
UCSF Computer Graphics Lab
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chimera-users