This is a read-only mirror of pymolwiki.org

Difference between revisions of "Talk:ProMOL"

From PyMOL Wiki
Jump to navigation Jump to search
(Blanked the page)
 
(Make this work in a personal plugin directory)
Line 1: Line 1:
 +
Make this work in a [[PluginDirectory|personal plugin directory]]:
  
 +
<source lang="bash">
 +
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
 +
</source>
 +
 +
--[[User:Speleo3|Speleo3]] 13:29, 30 June 2011 (CDT)

Revision as of 18:29, 30 June 2011

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)