Skip to main content

Describe structure directory for pipeline

Project description

PyPI - Downloads Documentation Documentation DOI Pipeline status Coverage report

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.

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


Download files

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

Source Distribution

file_tree-1.4.0.tar.gz (33.1 kB view details)

Uploaded Source

Built Distribution

file_tree-1.4.0-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

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

Hashes for file_tree-1.4.0.tar.gz
Algorithm Hash digest
SHA256 33902f7e4205b65974bd14a156a8b12f9f49a64c2e57add813e9645d001fdcfe
MD5 6833338a0e63ac6609c5e6941b5e83b7
BLAKE2b-256 90dbb176b285731380f6a83598754081296aaff3b763ebd322fb43397e7a9d13

See more details on using hashes here.

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

Hashes for file_tree-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6c61d2478b0ce99c387813b3fc783b035c2479853a83232d457102f4079042a
MD5 92e4b5ef6c0499ce4d353b8d6ed1fed4
BLAKE2b-256 435f4b8663caf65c18d81080bd00f97365c98525a4f64c650db2650298f33388

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