PreprocessingCaseResult#
- class zrad.batch.preprocessing.PreprocessingCaseResult(case_name: str, status: str, image_output_path: Path | None = None, mask_output_paths: dict[str, ~pathlib.Path]=<factory>, mask_union_output_path: Path | None = None, processed_structures: list[str] = <factory>, skipped_structures: list[str] = <factory>, error: str | None = None)[source]#
Per-case result returned by
BatchPreprocessor.- case_name#
Name of the case folder.
- Type:
str
- status#
Processing status for the case.
- Type:
{“processed”, “skipped”, “failed”}
- image_output_path#
Path to the written image file, if image export succeeded.
- Type:
pathlib.Path or None, optional
- mask_output_paths#
Written mask paths keyed by structure name.
- Type:
dict of str to pathlib.Path
- mask_union_output_path#
Path to
mask_union.nii.gzwhen mask union output is enabled and at least one mask was written.- Type:
pathlib.Path or None, optional
- processed_structures#
Structure names that were loaded and written successfully.
- Type:
list of str
- skipped_structures#
Structure names that were requested but could not be written.
- Type:
list of str
- error#
Case-level error message. Structure-level mask failures are usually recorded in
skipped_structuresinstead.- Type:
str or None, optional