Skip to content

FOV names and array names are hard-coded for the HCS dataset reader #248

@ziw-liu

Description

@ziw-liu

The v0.4 spec states:

# The name of the array is arbitrary with the ordering defined by
# by the "multiscales" metadata, but is often a sequence starting at 0.

And ome-zarr-py works with arbitrary array names in the single-FOV images layout, but not in an HCS plate layout. Only integer names starting with "0" is recognized.

It should instead be discovered from metadata (multiscales.datasets[0].path).

Also, FOV names not starting with "0" is not supported. The cause is likely this line hard-coding 'first field':

self.first_field = "0"

It should instead be discovered from metadata (well.images[0].path). Spec:

The well dictionary MUST contain an images key whose value MUST be a list of JSON objects specifying all fields of views for a given well. Each image object MUST contain a path key whose value MUST be a string specifying the path to the field of view. The path MUST contain only alphanumeric characters, MUST be case-sensitive, and MUST NOT be a duplicate of any other path in the images list. 

Edit: separate description for array and position names.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions