Pydra task package for fastsurfer
This package contains a Pydra interface for the fastsurfer toolkit.
Tests
This package comes with a battery of automatically generated test modules. To install the necessary dependencies to run the tests
$ pip install -e .[test]
Then the tests, including doctests <https://docs.python.org/3/library/doctest.html>`__, can be launched using
$ pytest --doctest-modules pydra/tasks/*
By default, the tests are set to time-out after 10s, after which the underlying tool is assumed to have passed the validation/initialisation phase and we assume that it will run to completion. To disable this and run the test(s) through to completion run
$ pytest --doctest-modules --timeout-pass 0 pydra/tasks/*
Contributing to this package
Developer installation
Install repo in developer mode from the source directory and install pre-commit to ensure consistent code-style and quality.
$ pip install -e .[test,dev]
$ pre-commit install
Typing and sample test data
The automatically generated tests will attempt to provided the task instance to be tested with sensible default values based on the type of the field and any constraints it has on it. However, these will often need to be manually overridden after consulting the underlying tool’s documentation.
For file-based data, automatically generated file-system objects will be created for selected format types, e.g. Nifti, Dicom. Therefore, it is important to specify the format of the file using the “mime-like” string corresponding to a fileformats class in the inputs > types and outputs > types dicts of the YAML spec.
If the required file-type is not found implemented within fileformats, please see the fileformats docs for instructions on how to define new fileformat types, and see fileformats-medimage-extras for an example on how to implement methods to generate sample data for them.
Metadata
Release files for pydra-fastsurfer 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydra_fastsurfer-0.1.0.tar.gz | 10.5 kB | Without provenance | Details for pydra_fastsurfer-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydra_fastsurfer-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pydra_fastsurfer-0.1.0-py3-none-any.whl |
Total release size: 18.3 kB
Release files / pydra_fastsurfer-0.1.0.tar.gz
| Download URL | pydra_fastsurfer-0.1.0.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c568dd42845cccf62196f59d62d6eb4d67e2aba293644456d479399fd3400406
|
|
BLAKE2b-256 checksum How to use checksums |
532f3178cff267b25a03c035013908af2e22156bbff9f317390f6a0df369969e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Release files / pydra_fastsurfer-0.1.0-py3-none-any.whl
| Download URL | pydra_fastsurfer-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0fb5dfe8970794b53482cb1266d2e6ad1105527374021280282693534db45d3d
|
|
BLAKE2b-256 checksum How to use checksums |
c723fc7d261d4077eef12b0cf1d9d1a381b1b9faff7b1bd079128fb7eeff2c17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Security for pydra-fastsurfer 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.