Skip to main content

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(http://orange.biolab.si).

Documentation

Documentation of latest release is available at http://www.edna-site.org/pub/doc/tomwer/latest

Installation

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

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 : https://github.com/payno/orange3.git

So install this fork :

git clone https://github.com/payno/orange3.git
cd orange3
pip install -r requirements.txt
pip install -r requirements-gui.txt
pip install .

Step 2 - tomwer

clone the tomwer project

git clone git@gitlab.esrf.fr:payno/tomwer.git

then install it

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

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

python run_tests.py

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 https://www.graylog.org/

Launching Orange

you can simply execute the command:

orange-canvas
source myvirtualenv/bin/activate

Documentation

cd doc
make html

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

firefox build/html/index.html

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

cd doc
make htmlhelp

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

tomwer-0.2.0a1.linux-x86_64.tar.gz (715.9 kB view hashes)

Uploaded Source

Built Distribution

tomwer-0.2.0a1-py3-none-any.whl (787.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page