Talk:ProMOL

From PyMOLWiki
Revision as of 14:29, 30 June 2011 by Speleo3 (talk | contribs) (Make this work in a personal plugin directory)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Make this work in a personal plugin directory:

cd ~/.pymol/pymolplugins
wget http://www.rit.edu/cos/ezviz/ProMOL.zip
unzip ProMOL.zip
mv "ProMOL Folder" ProMOL
cd ProMOL
mv ProMOL_302.py __init__.py
sed -i 's#"./modules/pmg_tk/startup#promol_dir + "#' __init__.py
sed -i "s#'./modules/pmg_tk/startup#promol_dir + '#" __init__.py
sed -i "s#'run ./modules/pmg_tk/startup#'run ' + promol_dir + '#" __init__.py
sed -i 's#^import os#import os;promol_dir = os.path.dirname(__file__)#'  __init__.py

--Speleo3 13:29, 30 June 2011 (CDT)