Skip to main content

Declarative pipelines based on Filetrees

Project description

Documentation File-tree Documentation DOI Pipeline status Coverage report

Declarative pipelines based on Filetrees. A pipeline is defined by:

  • A file-tree, which defines the directory structure of the inputs and outputs of the pipeline. A tutorial on these file-trees is available here.
  • A set of recipes describing how all the pipeline outputs are produced. A tutorial on writing these recipes is available here. Fsl-pipe will stitch these recipes together to produce any user-selected output files. Resulting jobs will either run locally, run distributed using dask, or be submitted to a cluster using fsl-sub.

An example diffusion MRI pipeline using fsl-pipe with detailed comments is available here.

Installation

pip install fsl-pipe

Any bug reports and feature requests are very welcome (see issue tracker).

Setting up local test environment

First clone the repository:

git clone https://git.fmrib.ox.ac.uk/fsl/fsl-pipe.git

Then, we install the package in an interactive manner:

cd fsl-pipe
pip install -e .

Running tests

Tests are run using the pytest framework. After installation (pip install pytest) they can be run from the project root as:

pytest src/tests

Compiling documentation

The documentation is build using sphinx. After installation (pip install sphinx) run:

cd doc
sphinx-build source build
open build/index.html

Contributing

Merge requests with any bug fixes or documentation updates are always welcome.

For new features, please raise an issue to allow for discussion before you spend the time implementing them.

Releasing new versions

  • Ensure CHANGELOG.md is up to date.
  • Run bump2version (install using pip install bump2version)
  • Push to gitlab (including tags in the push)
  • After the continuous integration (CI) succeeds, manually run the job to upload fsl-pipe to pypi (see here)
  • Upload code on conda-forge using their automated release detection.

Project details


Download files

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

Source Distribution

fsl_pipe-1.1.1.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

fsl_pipe-1.1.1-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file fsl_pipe-1.1.1.tar.gz.

File metadata

  • Download URL: fsl_pipe-1.1.1.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for fsl_pipe-1.1.1.tar.gz
Algorithm Hash digest
SHA256 2ed02e1008ac5380c70737f7a6eba95667a45fdb8a77ae68b4f6537b7f09a81b
MD5 2b993a92f670466d3074d841f1c30fe9
BLAKE2b-256 2e9737ec630b25be482d3145579ece9de9f922d832ffd9aac6e5c001f3ae83e8

See more details on using hashes here.

File details

Details for the file fsl_pipe-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: fsl_pipe-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for fsl_pipe-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f3d75386c6b18813b5ddcdef4e4a353e9d62728d86c12de90cbd81b117abcfb
MD5 bac2ec4da37faf753d5090d1f4323c66
BLAKE2b-256 809e9d7b314879cd7878197cdae1888ac67abef997024c0c5aba0bd8e528be76

See more details on using hashes here.

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