Skip to main content

Pydra tasks package for fastsurfer

Project description

Pydra task package for fastsurfer

CI/CD Codecov Supported Python versions Latest Version

This package contains a Pydra interface for the fastsurfer toolkit.t.

Tests

This package comes with a battery of automatically generated test modules. To install the necessary dependencies to run the tests, use the following command:

the necessary dependencies to run the tests

   $ pip install -e .[test]

Then the tests, including doctests, 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.

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

pydra_tasks_fastsurfer-0.2.2.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

pydra_tasks_fastsurfer-0.2.2-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file pydra_tasks_fastsurfer-0.2.2.tar.gz.

File metadata

  • Download URL: pydra_tasks_fastsurfer-0.2.2.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pydra_tasks_fastsurfer-0.2.2.tar.gz
Algorithm Hash digest
SHA256 f2c3f9e1b8586227703dc8942d3a4bf459405f26a02ddbcae39be53a7fb36c5b
MD5 f44fa1ab9b290e1dfc3db77f2cdde5f5
BLAKE2b-256 51b0c17fc78ccdbe0758623084f3142435dad91d28df831818bbe50fba99c415

See more details on using hashes here.

File details

Details for the file pydra_tasks_fastsurfer-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pydra_tasks_fastsurfer-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 58c50f97f781cb4dc650d217a807e7c2f05b5d14cf8f8e8abb740a50cf090392
MD5 8ff42ff025f91c9029ea6328f55aafc0
BLAKE2b-256 aed3947778fdd31f531636a85175bf8df6eafdc06cebb19fa97259723440059e

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