This is a read-only mirror of pymolwiki.org
Difference between revisions of "Talk:ProMOL"
Jump to navigation
Jump to search
(Blanked the page) |
m (3 revisions) |
||
(One intermediate revision by one other user not shown) | |||
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) |
Latest revision as of 00:44, 28 March 2014
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)