Describe structure directory for pipeline
Project description
Framework to represent structured directories in python as FileTree objects. FileTrees can be read in from simple text files describing the directory structure. This is particularly useful for pipelines with large number of input, output, and intermediate files. It can also be used to visualise the data in structured directories using FSLeyes or file-tree
on the command line.
- General documentation: https://open.win.ox.ac.uk/pages/fsl/file-tree/
- FSLeyes documentation on using FileTrees: https://open.win.ox.ac.uk/pages/fsl/fsleyes/fsleyes/userdoc/filetree.html
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
Release procedure
- Create a new release branch
- Make sure "CHANGELOG.md" is up to date
- All commits can be seen in gitlab by clicking the "Unreleased" link in "CHANGELOG.md"
- Add new header just below "## [Unreleased]" with the new version
- Update the footnotes for both the new version and [Unreleased]
- Run bump2version patch/minor/major
- Merge branch on gitlab
- Push to pypi by running custom pipeline job in gitlab
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
Built Distribution
File details
Details for the file file-tree-1.4.1.tar.gz
.
File metadata
- Download URL: file-tree-1.4.1.tar.gz
- Upload date:
- Size: 147.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56c75b1c04f4cd0d0a1116b0846b169f197e47c047dacb0246c85fa514bfa022 |
|
MD5 | 25b17a41c9716ceea89d77362da64eff |
|
BLAKE2b-256 | 59f022b248e62a03db9154d0432b829480c97ac10c6c5cbc89c4b5524693985a |
File details
Details for the file file_tree-1.4.1-py3-none-any.whl
.
File metadata
- Download URL: file_tree-1.4.1-py3-none-any.whl
- Upload date:
- Size: 37.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58696f6bee29b0a09458cbfc85b0906db66958f279198be36e322701813b2011 |
|
MD5 | 22dd4aa10691bb8f9279c9cb65cb1bc1 |
|
BLAKE2b-256 | f95d9584899335afe20619ef2773217ba48ebf9b8c05d76610c2a926acde0695 |