Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Library for tomography workflow

Project description

This project contains widgets made for the esrf usage in order to define workflows, using the Orange3 canvas and core(


Documentation of latest release is available at


Step 0 - Create a virtual env

It is recommended to create a python virtual environment to run the workflow tool. Virtual environment might avoid some conflict between python packages. But you can also install it on your ‘current’ python environment and move to step 1.

virtualenv --python=python3 --system-site-packages myvirtualenv

Then activate the virtual environment

source myvirtualenv/bin/activate

First update pip and setuptools to avoid some potential errors

pip install --upgrade pip
pip install setuptools --upgrade


To quit the virtual environment


Step 1 - Orange3 installation

You will need a fork of the original Orange project in order to run the tomwer project. This is needed because small modification have been made in order to get the behavio we wanted (has looping workflows).

The fork is accessible here :

So install this fork :

git clone
cd orange3
pip install -r requirements.txt
pip install -r requirements-gui.txt
pip install .


if you have an old PyQt version, you might need to have a look at to avoid rebuild of sip… you might want to create a symbolic link:

If you want to use PyQt4 installed in /usr/lib/python2.7/dist-packages/:

ln -s /usr/lib/python2.7/dist-packages/PyQt4 silx_venv/lib/python2.7/site-packages/
ln -s /usr/lib/python2.7/dist-packages/ silx_venv/lib/python2.7/site-packages/

Step 2 - tomwer

clone the tomwer project

git clone

then install it

cd tomwer
pip install -r requirements.txt
pip install -e .


-e option will register the add-on into Orange, but you shouldn’t copy it into the Python’s site-packages directory. This is due to the Orange add-on installation procedure. That mean also that any modification into this source code will be apply during execution time.

Make sure the installation whent well, and that Orange is running correctly.


Unit test should be executed without any error.

Step 3 - web log

the workflow tool can send some log into graylog in order to get view of the status of the workflow execution. If this is active (by default) then you will be able to see important log from a web interface.

To get more information see

Launching Orange

you can simply execute the command:



if your installed a virtual environment do not forget to active it :

source myvirtualenv/bin/activate


cd doc
make html

The documentation is build in doc/build/html and the entry point is index.html

firefox build/html/index.html


the build of the documentation need sphinx to be installed. This is not an hard dependacy. So you might need to install it.

You also should generate documentation to be accessible from Orange GUI (pressing the F1 key).

cd doc
make htmlhelp

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tomwer, version 0.2.0a1
Filename, size File type Python version Upload date Hashes
Filename, size tomwer-0.2.0a1.linux-x86_64.tar.gz (715.9 kB) File type Source Python version None Upload date Hashes View hashes
Filename, size tomwer-0.2.0a1-py3-none-any.whl (787.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page