mobie / mobie.github.io

1 stars 3 forks source link

Sources without a default view #22

Closed constantinpape closed 3 years ago

constantinpape commented 3 years ago

There could be sources for which we don't want to add a default view, because it doesn't make much sense (or overloads the menus) to select them individually. A prime example are images in a HCS plate. To support this the view field in source should not be required.

To add these sources, one would then add a view to views, e.g.for a HCS plate:

{
  "sources": {"dapi-A1": {}, "dapi-A2": {}, "dapi-A3": {}, "dapi-A4": {}},
  "views": {"dapi": {"imageDisplay": "select all dapi images"}, "sourceTransforms": {"autogrid for all dapi images"} }} 
}

This view should be additive, see #21.

What do you think, @tischi?

constantinpape commented 3 years ago

I removed view from the required fields for a source for now.

tischi commented 3 years ago

I removed view from the required fields for a source for now.

I think that makes a lot of sense!