Skip to content
luisodls edited this page Jun 17, 2019 · 16 revisions

Welcome to the DUI wiki for Dials developers:

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 CCP4 with an up to date version of Dials, 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 then update it with the command:

$CCP4/bin/ccp4um

from the update manager GUI upgrade to version: 7.0.075 or newer.

Now you should clone the source code of CCP4/DUI from our github repository:

cd ~

mkdir dui_local

cd dui_local

git clone https://github.com/ccp4/DUI.git

The simplest and least error prone 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 already has DUI's code. So now you should cd to the code of DUI inside your CCP4 installation:

cd $CCP4/lib/py2/site-packages

Make a back up of DUI's stable version:

mv dui dui_bkp

Then make a symbolic link to the your cloned version of DUI's repo:

ln -s ~/dui_local/DUI/src/dui/ dui

Now DUI can be launched by typing dui from terminal ... as long as you are in CCP4 environment.

Clone this wiki locally