sort_dicom

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

sort_dicom(config: Any, *, logger: Logger | None = None) → Any[source]

Run the standalone DICOM sort pipeline (habit sort-dicom recipe).

Parameters:
  • config – Validated DICOM sort configuration (v0.1 schema object or mapping accepted by DicomSortConfig).

  • logger – Optional run logger forwarded to the workflow helper.

Returns:

WorkflowResult with output directory metadata and a run manifest path.