[PyMOL] Is it possible to pass command line arguments to a .pml file?

2013-06-26 Thread Jordan Willis
Hello, I'm looking to pass a .pml file, do some stuff, and then save it as a session. Pymol -c My.pml looks like a good option. I'm trying to write hundreds of sessions each with different arguments. I was wondering if its possible to pass command line arguments that can then be seen by the

Re: [PyMOL] Is it possible to pass command line arguments to a .pml file?

2013-06-26 Thread lievbuts
On Wednesday 26 June 2013 08:52:39 Jordan Willis wrote: I'm looking to pass a .pml file, do some stuff, and then save it as a session. Pymol -c My.pml looks like a good option. I'm trying to write hundreds of sessions each with different arguments. I was wondering if its possible to pass

Re: [PyMOL] Is it possible to pass command line arguments to a .pml file?

2013-06-26 Thread Tsjerk Wassenaar
Hey :) You don't even need the python block, as the pymol interpreter is a python interpreter with just some added extras. Single lines of python code are never a problem. This works nicely for me File test-argv.pml: print sys.argv for i in sys.argv[1:]: print i Run pymol:

Re: [PyMOL] Odd issue with control and shift keys in pymol

2013-06-26 Thread Adam Middleton
Hi Paul, I have the same problem. I am using Fedora 18 and PyMOL v.1.5 (from the repository). It is annoying. Right now I have to use another computer if I want to use the more 'advanced' functions of PyMOL. I found one other person with the same problem who posted to the Fedora forum, and got

Re: [PyMOL] Is it possible to pass command line arguments to a .pml file?

2013-06-26 Thread Jordan Willis
It seems the difference I was looking for was pymol something.pml -- arg1 arg2 arg3 I was missing the -- Thanks Jordan On Jun 26, 2013, at 4:21 AM, lievb...@vub.ac.be wrote: On Wednesday 26 June 2013 08:52:39 Jordan Willis wrote: I'm looking to pass a .pml file, do some stuff, and then

Re: [PyMOL] Anaglyph colours sorted (kind of)

2013-06-26 Thread Gary Hunter
Thanks for the reply. Of course you are correct that anaglyph in Pymol is 'optimised' for red/cyan glasses, despite the fact that the Pymol wiki says stereo mode 10 is for green/magenta ones (which is where I got the idea when it all went wrong for me). I have a learned a few things not to do in

Re: [PyMOL] Anaglyph colours sorted (kind of)

2013-06-26 Thread Jason Vertrees
Hi Gary, 1) do not use a black background Agreed. Something like gray works well in my experience. Don't forget in techniques like anaglyph and chromadepth color takes on another meaning–it encodes depth or separation. It's useful to keep this in mind. 2) do not use setting rendering

[PyMOL] Trouble with mutagenesis script

2013-06-26 Thread Dan Piraner
Dear all, I'm trying to write a script to perform mutagenesis on a pdb coordinate file via the command line. When I run the script, it produces the expected output on the terminal and even creates the desired output PDB file, but the output file is exactly identical to the input file other than

[PyMOL] Remove me please

2013-06-26 Thread Pope, Marshall R
Warm regards, R. Marshall Pope www.medicine.uiowa.edu/proteomics Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you