phenotypic.sdk_.write_image_tables#

phenotypic.sdk_.write_image_tables(store_part: Path, tables: PreparedImageTables, *, objmap_target: str) dict[str, object][source]#

Write both of one image’s tables into a part and return the fragment.

Parameters:
  • store_part (Path) – An unpromoted *.ome.zarr.part directory. Both tables land here, before the root zarr.json (D-A).

  • tables (PreparedImageTables) – The split payload.

  • objmap_target (str) – Store-relative path of the label image the measurement table’s Object_Label column indexes.

Returns:

The attributes.phenotypic fragment to apply to the root document with apply_image_tables_attributes().

Return type:

dict[str, object]