dandelion.polars.io.read_ddl

dandelion.polars.io.read_ddl(filename, distance_zarr=None, verbose=False)

Read a Dandelion object from a .zipddl file (hybrid Zarr v3 ZipStore container).

Parameters:
  • filename (str) – path to .zipddl file.

  • distance_zarr (Path | str | None, optional) – path to an external Zarr array for distances, if the distances were not embedded in the .zipddl file. Auto-detected when not provided.

  • verbose (bool, optional) – whether or not to print messages during creation of the DandelionPolars object.

Returns:

DandelionPolars object.

Return type:

DandelionPolars

Raises:

AttributeError – if data not found in the .zipddl file.