omero fields optional - #87
Conversation
ported from ome/ngff#297
Automated Review URLs |
Co-authored-by: Johannes Soltwedel <38459088+jo-mueller@users.noreply.github.com>
Co-authored-by: Johannes Soltwedel <38459088+jo-mueller@users.noreply.github.com>
align schema and spec text
…re/ngff-spec into omero_metadata_tests
|
@will-moore small bump here to have a look at will-moore#2 to have this move forward :) |
Omero metadata optional
|
This could also be an opportunity to fix the model value |
| "channels": [ | ||
| { | ||
| "label": "Channel:0", | ||
| "color": "#ff0000", |
There was a problem hiding this comment.
All the color values shouldn't include the #.
Definition below is:
(string) String of 6 hexadecimal digits specifying the color of the channel in RGB format.
|
@jburel We're not changing the No mention of OMERO. |
|
to clarify I am referring to |
|
@jburel @will-moore is there a central place where the fields and possible values of the omero metadata model are documented? There's a link in the spec text but explains some fields, but not all (i.e., family, etc) |
|
@will-moore @jburel: would you like to get this into one of the upcoming .dev versions? And if so, when would you be thinking? |
|
I actually thought this had made it into v0.6. |
|
@jni is leading dev1 so I'll defer. Otherwise we can get it on a board for dev2 and discuss. |
|
@will-moore there's a number of unresolved comments here. (log->logarithmic, removing "gamma", removing "#" from the color). Otherwise, I'm happy for this to go into 0.9.dev1 which is due ~end August. Note also that I don't have merge rights in this repo 😅 so someone else will have to do so, presumably after 0.6 is out. (Although, given the backwards compatibility of the change, I would not be opposed if it went into 0.6.rc1/final. CC @jo-mueller) |
|
I think that is all the fixes done. I also have therefore also removed the |
|
Great. @will-moore do you want to mark this as ready for review then? @jo-mueller what do you think about shipping this with 0.6 final? |
|
@jni sorry it took me so long to catch up here. To summarize:
Arguments for adding:
Arguments against:
|
|
After some more thought, since I made a quite verbal statement about no new changes in 0.6, I'm hesitant to eat from the forbidden fruit and slip in this (very reasonable!) PR 🙈 I think my headcanon for moving this forward would be:
|
|
related to the redo of omero fields, here is an insteesting scenario where color is being used as a local ID for a channel https://github.com/JurgenKriel/macro_candi Channels are resolved by colour, not index. canmac/io/channels.py reads the OME-Zarr omero metadata and matches hex colours, so channel order changes don't silently mis-assign data. Edit COLORS there for your fluorophores. this touches on both the need of a channel spec and on different uses of the |
Fixes ome/ngff#192
ported from ome/ngff#297