Skip to content

Commit

Permalink
Add "series" attribute in "OME" group under bioformats2raw.layout
Browse files Browse the repository at this point in the history
Documents the current state of glencoesoftware/bioformats2raw#157
  • Loading branch information
melissalinkert committed Jul 5, 2022
1 parent 4fcc045 commit 056b4e9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions latest/examples/bf2raw/ome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"series" : [ "0", "1" ]
}
13 changes: 12 additions & 1 deletion latest/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -272,13 +272,23 @@ Conforming groups:
- SHOULD have OME metadata representing the entire collection of images in a file named "OME/METADATA.ome.xml" which:
- MUST adhere to the OME-XML specification but
- MAY make use of the minimum specification available at https://docs.openmicroscopy.org/ome-model/6.2.2/specifications/minimum.html;
- if so, MUST represent every "multiscales" group as exactly one OME-XML "Image" in the same order as the group numbers.
- if so, MUST represent every "multiscales" group as exactly one OME-XML "Image" in the same order as the group numbers;
- if "OME/METADATA.ome.xml" is present, "OME" MUST be a Zarr group which:
- MUST contain a "series" attribute. "series" MUST be a list of string objects, each of which is a path to an image group.
The order of the paths MUST match the order of both the "multiscales" metadata and the "Image" elements in "OME/METADATA.ome.xml".

<pre class=include-code>
path: examples/bf2raw/ome.json
highlight: json
</pre>

<pre>
series.ome.zarr # One converted fileset from bioformats2raw
├── .zgroup
├── .zattrs # Contains "bioformats2raw.layout" metadata
├── OME # Special group for containing OME metadata
│ ├── .zgroup
│ ├── .zattrs # Contains "series" metadata
│ └── METADATA.ome.xml # OME-XML file stored within the Zarr fileset
├── 0 # First image in the collection
├── 1 # Second image in the collection
Expand All @@ -290,6 +300,7 @@ possible to mix collections of images with plates at present.

Conforming readers:
- SHOULD detect the presence of more than one image and make users aware of the fact;
- MAY use the "series" attribute in the "OME" group to determine a list of valid groups;
- MAY choose to show all images within the collection or offer the user a choice of images, as with <dfn export="true"><abbr title="High-content screening">HCS</abbr></dfn> plates;
- MAY ignore other groups or arrays under the root of the hierarchy.

Expand Down

0 comments on commit 056b4e9

Please sign in to comment.