processing#
Intermediate processing stages (DLC, mesomap, lab pipelines).
Each processor is a small subclass of ProcessorRunner that
defines run(inputs, **params) -> list[Path]. Calling the runner
wraps that work in a hashing + manifest-writing harness so every
processed file lands with a <tool_name>.process.json sidecar
recording inputs, parameters, tool version, and upstream provenance.
- class mesofield.processing.ProcessorRunner[source]#
Bases:
objectWrap a file-to-file transformation in a ProcessingManifest contract.
Subclasses must set
tool_nameandtool_version, and overriderun(). Calling the instance executes the work and writes the sidecar.- manifest_placement: ClassVar[str] = 'output_dir'#
Where the manifest sidecar lands.
"output_dir"writes<tool_name>.process.jsonin the directory of the first output; subclasses can overridemanifest_path()for custom placement.