The Molecular Graphics Laboratory Forum

AutoDock, AutoLigand, MGLTools, Vina, PyRx and more.
It is currently Wed Jan 24, 2018 1:35 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Jun 29, 2014 12:09 pm 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Sun Jun 29, 2014 11:34 am
Posts: 3
Hi Guys, I'm asking for your expertise: Thank you so much for your time !!!! :D
Mgltools quit every time running it: the message is : the command terminated due to receipt of a signal.

The Script is as following:
(*Author: Sargis Dallakyan <sargis@scripps.edu>*)

do shell script "
ps -wx -ocommand | grep -e '[X]11' > dev/null;
if [ \"$?\" != \"0\" -a ! -f ~/.xinitrc ]; then
echo \"rm -f ~/.xinitrc\" > ~/.xinitrc
sed 's/xterm/# xterm/' /usr/X11R6/lib/X11/xinit/xinitrc >> ~/.xinitrc
fi;
"
tell application "Finder"
launch application "XQuartz"
end tell
do shell script "
MGL_ROOT=\"/Library/MGLTools/1.5.6\";
export MGL_ROOT;

MGL_ARCHOSV=`$MGL_ROOT/bin/archosv`;
export MGL_ARCHOSV;

PATH=\"$MGL_ROOT/bin:$PATH\"
export PATH;
TCL_LIBRARY=\"$MGL_ROOT/tcl8.4\";
export TCL_LIBRARY;

TK_LIBRARY=\"$MGL_ROOT/tk8.4\";
export TK_LIBRARY;

DYLD_LIBRARY_PATH=\"$MGL_ROOT/lib:${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH}\";
export DYLD_LIBRARY_PATH;

unset PYTHONHOME;
PYTHONHOME=\"$MGL_ROOT\";
export PYTHONHOME;
PYTHONPATH=\"$MGL_ROOT/MGLToolsPckgs\";
export PYTHONPATH;
python=\"$MGL_ROOT/bin/python\";
cd ~;
if [ ! \"$DISPLAY\" ]; then
DISPLAY=:0.0;
export DISPLAY;
fi
$python $MGL_ROOT/MGLToolsPckgs/AutoDockTools/bin/runAdt.py;
"


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
POWERED_BY
Translated by MaĆ«l Soucaze © 2009 phpBB.fr