[Chimera-users] script for residues w\in zone
pett at cgl.ucsf.edu
Thu Jul 6 14:29:45 PDT 2006
On Jul 6, 2006, at 1:54 PM, Sorani, Marco wrote:
> Thanks. I'm running Chimera and Python\IDLE on Windows XP.
> a) Can I still use the "script.com" you suggested?
You could, by getting a UNIX-shell-like environment such as Cygwin
(www.cygwin.com) or possibly just from the DOS prompt. If you don't
care if Chimera's interface shows as the script runs, you could just
run Chimera and then use File...Open to run the script.
> b) When I try "script.py", I can't find the module "chimera" or
> "chimera.py". Where should I look?
script.py will only work if Chimera is the interpreter, rather than a
stand-alone Python interpreter. So you need to either run "chimera --
nogui script.py" using methods like in the previous answer, or open
the script using Chimera's main File...Open dialog.
More information about the Chimera-users