Skip to main content

Crate openreadout_ops

Crate openreadout_ops 

Source
Expand description

Command-level operations over OpenReadout datasets, shared by the CLI, the MCP server and the WebAssembly build. Everything here is built on the contract in openreadout_core (Dataset, FileInfo, Experiment).

  • compare: compare, a diff of two files’ metadata and planes.
  • explain: info --view explain, a plain-English account of a file and answers to questions about it.
  • extract: extract, which writes one embedded attachment to a new file.
  • project: --only, keep the JSON values an agent asked for by pointer.

Re-exports§

pub use explain::Explanation;
pub use explain::explain;

Modules§

compare
Compare two files (openreadout compare A B, MCP openreadout_check with against): a diff of the normalized metadata as JSON-pointer paths, image geometry, channel names, physical sizes, and every selected plane by xxh3-128 (or, with a tolerance, by the largest absolute sample difference). Typical use: an original and its OME-TIFF export.
explain
Plain-English narrative of a file for non-experts (openreadout info --view explain).
extract
extract: write one embedded attachment’s raw bytes to a new file, verified by read-back. Shared by the CLI and the MCP server.
project
Output projection (--only on the CLI): keep only the values an agent asked for, by JSON pointer, so a 35 MB info of a screening plate can answer “what is the pixel size” in a few bytes.