You type that to the Unix shell, the same way you started Chimera.  So:

<whatever command you use to start Chimera>  --nogui --script get-pip.py

—Eric

Eric Pettersen
UCSF Computer Graphics Lab


On Apr 10, 2017, at 6:23 PM, hy liao <hl_random@yahoo.com> wrote:

Hi, this was posted here, but where exactly do I invoke the said chimera command? I open chimera with IDLE; a python shell opens with the following

Python 2.7.10 (default, May  4 2016, 01:09:35) 
[GCC 4.6.2] on linux2
Type "copyright", "credits" or "license()" for more information.
==== No Subprocess ====
>>> 
>>> import chimera
>>>

I tried what the posting said, but got an error
>>> chimera --nogui --script get-pip.py
Traceback (most recent call last):
  File "<pyshell#3>", line 1, in <module>
   chimera --nogui --script get-pip.py
NameError: name 'nogui' is not defined

Thanks,
SL








_______________________________________________
Chimera-users mailing list: Chimera-users@cgl.ucsf.edu
Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users