Skip to main content

Declative pipelines based on Filetrees

Project description

Documentation File-tree Documentation DOI Pipeline status Coverage report

Declative 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/ndcn0236/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

  • 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.0.1.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fsl_pipe-1.0.1-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file fsl-pipe-1.0.1.tar.gz.

File metadata

  • Download URL: fsl-pipe-1.0.1.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for fsl-pipe-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8bc3d3e00747bb2e4b2ffcb6c3bf5fff2f9f812c956c5586d79d1104403b43bc
MD5 3d72bbb11d7de31e88d99744e855c611
BLAKE2b-256 2b105948511eb05fec59b21194da46c7d86a4287c7ee8d0a08d5617d95aa5fff

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fsl_pipe-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e77f438c287eefa2b2f6ac1638f8b82fc0bd04cfc1abec6e8299b719c555b968
MD5 ad7f30cad98b80b5b57ff8f6a3cf88eb
BLAKE2b-256 76824bfa733dfe9e0a2cd3c19bbe4ff8cc2c718915a869d0e97c83ff6865f590

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