-
Notifications
You must be signed in to change notification settings - Fork 3
Home
The aim of this wiki is to explain how to install de development version of DUI (before it gets distributed with CCP4) in your development computer. This is useful only for very advanced users and the Dials team. If you are a common user just keep updated your installation of CCP4 as usual, a stable version of DUI should be included and reachable via CCP4I2.
Now, lets start hacking, first we need a version of Dials more bleeding edge, newer than the one distributed with CCP4 for general users. We still need the rest of CCP4 with PyQt4
, psutil
and DUI dispatchers, so at the moment is way to hard if possible to hack your development version of Dials and be able to use it from DUI.
So the first thing to do is install CCP4 and the update it with the command:
ccp4um -expert
from the update manager GUI upgrade to version: 7.0.064.
Now you should clone the source code of CCP4/DUI from this repo:
git clone https://github.com/ccp4/DUI.git
The simplest and less prone to surprises way to use CCP4 packages and dispatchers is by making a symbolic link inside the CCP4 installation to your clone of DUI. This link should be in the same position where CCP4 has already DUI's code. So now you should cd
to the code of DUI inside your CCP4 installation:
cd /path/to/my/CCP4/install/ ... /ccp4-7.0/lib/py2/site-packages
Make a back up of DUI's stable version:
mv mini_idials_w_GUI mini_idials_w_GUI_bkp
Then make a symbolic link to the your cloned version of DUI's repo:
ln -s path/to/my/clone/of/DUI ... DUI/mini_idials_w_GUI/ mini_idials_w_GUI
Now DUI can be launched by typing dui
from terminal ... as long as you are in CCP4 environment.