Hi Mark:
I just tried the command with -M and it didn't help, but for the
record, you can use
/Applications/MacPyMOL.app/Contents/MacOS/MacPyMOL
or if you are a nerd, you might prefer this shell script, which you
can call pymol and put in your $path array. It finds wherever you
put it, figures out what version you are using, launches it, and puts
the word pymol in your titlebar or tab of the terminal (or iTerm),
and whines appropriately if it doesn't work:
#!/bin/zsh -f
getargs=("$@")
if [[ -x /usr/bin/mdfind ]];then
pymolprefix=($( mdfind MacPyMOL | grep MacPyMOL.app | head -1 ))
else
pymolprefix=($( locate MacPyMOL.app | head -1 ))
fi
if [[ -x $pymolprefix/Contents/MacOS/PyMOL ]];then
pymolexec=($pymolprefix/Contents/MacOS/PyMOL)
elif [[ -x $pymolprefix/Contents/MacOS/MacPyMOL ]];then
pymolexec=($pymolprefix/Contents/MacOS/MacPyMOL)
else
pymolexec=""
fi
pymolparser=($pymolprefix/pymol/modules/pymol/parser.py )
if [[ -z $pymolprefix ]];then
print "Can\'t locate MacPyMol in locatedatabase"
print "If you have MacPyMol, issue sudo /etc/weekly to get this
to work"
print "Trying now with X-windows based version..."
pymolexec='command pymol'
fi
natpymol () {
$pymolexec -q $getargs
}
# function to settab to show pymol running and then reset with settab
function pymoltab {
echo -ne "\e]1; pymol \a"; natpymol; settab
}
pymoltab
=================
Hope NYC is treating you well.
Bill