ngff_zarr.detect_cli_io_backend

Module Contents

Functions

_matches_extension

Check if extension ends with any of the supported extensions.

detect_cli_io_backend

Data

API

ngff_zarr.detect_cli_io_backend.conversion_backends

[(‘NGFF_ZARR’, ‘ngff_zarr’), (‘ZARR_ARRAY’, ‘zarr’), (‘NIBABEL’, ‘nibabel’), (‘ITKWASM’, ‘itkwasm_im…

ngff_zarr.detect_cli_io_backend.conversion_backends_values

None

ngff_zarr.detect_cli_io_backend.ConversionBackend

‘Enum(…)’

ngff_zarr.detect_cli_io_backend._matches_extension(extension: str, supported_extensions: tuple) bool

Check if extension ends with any of the supported extensions.

Checks longer extensions first to ensure precise matching (e.g., ‘.ome.zarr’ before ‘.zarr’).

ngff_zarr.detect_cli_io_backend.detect_cli_io_backend(
input: List[str],
) ngff_zarr.detect_cli_io_backend.ConversionBackend