Re: [PyMOL] Start PyMOL from command line

2010-09-02 Thread Martin Hediger
Indeed batch mode would not be what I wanted. Thanks for the hints, I'll give it a try. I guess I'll also have to look at the glob module. Am 01.09.10 15:55, schrieb Michael F. Summers: > My favorite way to do this is to add the following to an alias file that is > sourced upon login: > >

Re: [PyMOL] Start PyMOL from command line

2010-09-01 Thread Jason Vertrees
Michael, That's a great idea. You can also specify which MacPyMOL you want via: open -a MacPyMOL open -a PyMOLX11Hybrid open -a PyMOLX11Zalman Just make sure you have those copies of MacPyMOL installed before issuing the command. Cheers, -- Jason On Wed, Sep 1, 2010 at 9:55 AM, Michael F. Su

Re: [PyMOL] Start PyMOL from command line

2010-09-01 Thread Michael F. Summers
My favorite way to do this is to add the following to an alias file that is sourced upon login: alias pm '/Applications/MacPyMol.app/Contents/MacOS/MacPyMOL $*' With this approach, you can "cd" to any directory that contains a pdb file of interest, and type: pm filename.pdb Pymol launches, o

Re: [PyMOL] Start PyMOL from command line

2010-09-01 Thread Michael Lerner
Hi Martin, I know a few ways to do this: 1) If you've set your Mac up to load PDB files with PyMOL by default, you can just type "open *.pdb" from the command line. 2) Instead of using OS X's open command, you can launch PyMOL directly via "/Applications/PyMOLX11Hybrid.app/Contents/MacOS/MacPyMO

[PyMOL] Start PyMOL from command line

2010-09-01 Thread Martin Hediger
Dear All I'm using Mac OS X and would like to start PyMOL from the command line, so I can open up .pdb files from a command line argument by issuing $ pymol -c /directory/*pdb (for some reason, within pymol it seems to be not possible to issue 'PyMOL > *pdb'). When I enter 'pymol' in the Termi