ome / ome-model

OME model (specification, code generator, implementation)
Other
13 stars 26 forks source link

Add field for background color #102

Open paulmenzel opened 5 years ago

paulmenzel commented 5 years ago

I was told, there is a field missing for storing what color the background(?) has. How could such a field be added to the specification?

mtbc commented 5 years ago

https://www.openmicroscopy.org/Schemas/Documentation/Generated/OME-2016-06/ome.html shows the current model's XML schema. What do you think should have a background color defined? (There are all kinds of element.) Can you tell us a bit more about your use case? (Note that ROIs' shapes each have a fillColor and a strokeColor.)

Model changes aren't undertaken lightly because they pervade the whole software stack up through Bio-Formats and OMERO into our users' client applications. However, we do of course make rounds of changes and in the meantime we collect ideas for improving the model.

In some cases elements are introduced into only the OMERO object model without yet including them further down the stack but it generally works out best to keep OMERO aligned with the OME Data Model.

It may help to note that in some applications the more freeform aspects of the model are used to add data without waiting for a new schema. For example, use of structured annotations in a specific namespace can be used to encode data that is recognized and intepreted by custom clients or local scripts.