This is a read-only mirror of pymolwiki.org

Talk:ProMOL

From PyMOL Wiki
Revision as of 00:44, 28 March 2014 by Pyadmin (talk | contribs) (3 revisions)
(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)