Hey Andrew,

On my system, open launches Graphic Converter.  In any case, I have an
alias defined in ~/.bashrc to start pymol:

alias pymol='/Applications/PyMOLX11Hybrid.app/Contents/MacOS/PyMOL'


This way, pymol test.pdb opens the pdb file in pymol, and the path is set
correctly.


Andreas



> I recently switched to MacPyMol 0.99.  I frequently open a pdbfile
> using the command line in OsX using the "open" command.  This opens up
> the pdbfile in macpymol.  The problem is that the present working
> directory is not set up properly.
>
> For instance:
> % cd pdbfiles
> % open test.pdb
> PyMol > pwd
>
> I get "/" as the path
>
> if I open the pdb in the following way:
> % cd pdbfiles
> % /Applications/MacPyMOL.app/Contents/MacOS/MacPyMOL test.pdb
> PyMol > pwd
>
> I get "/Users/andrew/pdbfiles" as the path.
>
> Does anyone know how to get around this problem?  Incidently I have
> the same issue when clicking on pdbfiles using the finder.
>
>
> Andrew Wollacott, PhD
> Baker Research Lab
> University of Washington

-- 
   -->       Andreas Förster       <--
 8 rue Doudart de Lagrée, 38000 Grenoble
++33.(0)438.866201 and ++33.(0)456.452000
   b5foan at skype and yahoo messenger
         docandreas.blogspot.com


Reply via email to