Command-line (ome_zarr.cli)

Entrypoint for the ome_zarr command-line tool.

ome_zarr.cli.config_logging(loglevel: int, args: Namespace) None[source]

Configure logging taking the verbose and quiet arguments into account.

Each -v increases the loglevel by 10 and each -q reduces the loglevel by 10. For example, an initial loglevel of INFO will be converted to DEBUG via -qqv.

ome_zarr.cli.create(args: Namespace) None[source]

Chooses between data generation methods in ome_zarr.utils like.

coins() or astronaut().

ome_zarr.cli.csv_to_labels(args: Namespace) None[source]

Adds csv data to labels properties

ome_zarr.cli.download(args: Namespace) None[source]

Wrap the download() method.

ome_zarr.cli.finder(args: Namespace) None[source]

Wrap the finder() method.

ome_zarr.cli.info(args: Namespace) None[source]

Wrap the info() method.

ome_zarr.cli.main(args: list[str] | None = None) None[source]

Run appropriate function with argparse arguments, handling errors.

ome_zarr.cli.view(args: Namespace) None[source]

Wrap the view() method.