Skip to content

Commit 3e5aeb1

Browse files
committed
Add omero metadata for labels (in .zattrs at the site level) [ref #44]
1 parent 59ae573 commit 3e5aeb1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

fractal/tasks/create_zarr_structure.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,16 @@ def create_zarr_structure(
177177
],
178178
}
179179
]
180+
group_field.attrs["omero"] = [
181+
{
182+
"id": "TBD",
183+
"name": "TBD",
184+
"version": "TBD",
185+
"channels": [
186+
{"label": channel[2]} for channel in actual_channels
187+
],
188+
}
189+
]
180190

181191
return zarrurls, actual_channels
182192

0 commit comments

Comments
 (0)