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.0.tar.gz
.
File metadata
- Download URL: file_tree-1.4.0.tar.gz
- Upload date:
- Size: 33.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33902f7e4205b65974bd14a156a8b12f9f49a64c2e57add813e9645d001fdcfe |
|
MD5 | 6833338a0e63ac6609c5e6941b5e83b7 |
|
BLAKE2b-256 | 90dbb176b285731380f6a83598754081296aaff3b763ebd322fb43397e7a9d13 |
File details
Details for the file file_tree-1.4.0-py3-none-any.whl
.
File metadata
- Download URL: file_tree-1.4.0-py3-none-any.whl
- Upload date:
- Size: 33.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6c61d2478b0ce99c387813b3fc783b035c2479853a83232d457102f4079042a |
|
MD5 | 92e4b5ef6c0499ce4d353b8d6ed1fed4 |
|
BLAKE2b-256 | 435f4b8663caf65c18d81080bd00f97365c98525a4f64c650db2650298f33388 |