> Two more questions:
> Does the 'pymol -qc' takes command line variables (os.argv in python)?
> For example, the first line of my script would be:
> cmd.do('load %s' %os.argv[1])
That's not possible. In order to get this behavior (for now) you need
to treat PyMOL as a module (see below).
> Seco
Dear Dr.DeLano,
Thanks! That really helps!
Two more questions:
Does the 'pymol -qc' takes command line variables (os.argv in python)?
For example, the first line of my script would be:
cmd.do('load %s' %os.argv[1])
Second question might be off a little bit.
Is it possible to wrap PyMol as a mod
Shu-hsien
Sure, instead of cmd.select, use
cmd.do("select ligand, resn XYZ")
cmd.do("select protein, ! ligand ")
etc.
./pymol -qc select_box.py
Is the command line mode of PyMOL. "pymol -qc" can be used like
"python" in most cases.
Cheers,
Warren
--
mailto:war...@delanoscientific.com
Warren