Skip to main content

Simple workflow platform used in scientific applications, initially developed within the Scipion framework for image processing in Electron Microscopy.

Project description

pyworkflow is a simple workflow platform used in scientific applications. It has been initially developed within the Scipion framework for image processing in Electron Microscopy.

pyworkflow allows you to define a working Domain by defining the following group of classes:

  • Objects: input/outputs that will be generated by different programs

  • Protocols: special type of Objects that have defined input parameters and will produce some output

  • Viewers: Entities that provide graphical analysis of results.

  • Wizards: Small GUIs that can be develop to help users to select given parameter values.

Development

We are now fully going toward Python 3!

To install pyworkflow for development purposes, one can do:

# Create a clean virtual environment
python -m venv ~/myenv
source ~/myenv/bin/activate
git clone git@github.com:scipion-em/scipion-pyworkflow.git
cd scipion-pyworkflow
python -m pip install -e .  # Install in the environment as development

Running tests

First make sure that pyworkflow is available as a Python module in your current Python environment. During development, I tend to set the PYTHONPATH:

cd scipion-pyworkflow
# Either you have installed as mentioned above, or modify the PYTHONPATH
export PYTHONPATH=$PYTHONPATH:$PWD
# After pyworkflow is accesible as a module, then:
cd pyworkflow/tests

python -m unittest discover

# Simple project GUI can be shown after running tests:
cd scipion-pyworkflow

# At the moment you need to specify SCIPION_DOMAIN and SCIPION_VERSION
export SCIPION_DOMAIN=scipion-pyworkflow/pyworkflow/tests/mock_domain
export SCIPION_VERSION=3.0.0

python pyworkflow/apps/pw_project.py TestProtocolOutputs

Installation

Using a python virtual environment you might need: # For virtual env in ubuntu: # sudo apt-get install python3-dev # sudo apt-get install python3-tk

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

scipion-pyworkflow-3.0.0a9.tar.gz (1.0 MB view details)

Uploaded Source

File details

Details for the file scipion-pyworkflow-3.0.0a9.tar.gz.

File metadata

  • Download URL: scipion-pyworkflow-3.0.0a9.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.17

File hashes

Hashes for scipion-pyworkflow-3.0.0a9.tar.gz
Algorithm Hash digest
SHA256 f92f1b1fd9fbc7b074e0a2db85d981ec3e258a64ab7272305347938ca971d11e
MD5 53e2b33b29b2e655a6cc75f280f1dc46
BLAKE2b-256 c85666ee8c740c4b260ac62d29725c17d2966a48bcd041c2f2cc69d628f8cd9a

See more details on using hashes here.

Supported by

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