Hi Luigi -
To get the right working directory, you can use the full path to the binary
followed by the `-d` flag to run a command (`cd $PWD`) once PyMOL opens.
Personally, I'd alias it in ~/.profile like this:
alias macpymol='/Applications/MacPyMOL.app/Contents/MacOS/MacPyMOL -d "cd $PWD"'
Alternatively, you could install the open source version, e.g. using
Homebrew<http://www.pymolwiki.org/index.php/MAC_Install#Installing_PyMOL_with_Homebrew>,
which opens properly in the working directory as well.
Cheers,
Jared
--
Jared Sampson
Xiangpeng Kong Lab
NYU Langone Medical Center
http://kong.med.nyu.edu/
On Apr 15, 2015, at 4:20 PM, Luigi Cavallo
<lcava...@unisa.it<mailto:lcava...@unisa.it>> wrote:
Hi,
I just started to use MacPyMol from standard unix like Pymol, and I would like
to start MacPyMol from a specific working directory, to have pdb and pse files
I am working on right at hand. However, I can’t understand how to get this
done. I can start by command line
open -a MacPyMol or
/Applications/MacPyMOL.app/Contents/MacOS/MacPyMOL
and it works, but as I try the “open” option, it starts from my home directory,
so I have to go down the folders tree. Annoying. I’ve seen that I can start as
/Applications/MacPyMOL.app/Contents/MacOS/MacPyMOL -m
I have a less fancy graphics, but if I try to “open” a file, it starts looking
in the directory I started from. Cool. However, according to the manual I loose
plugin control.
Just wondering if there is a way to have the “open” file starting from the
working directory with the fancy interface of MacPyMol, rather than the basic
Unix interface.
Thanks,
gg-kawa
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
PyMOL-users mailing list
(PyMOL-users@lists.sourceforge.net<mailto:PyMOL-users@lists.sourceforge.net>)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net