Closed constantinpape closed 3 years ago
Sure! Sounds good.
In my code it looks like I could easily add more views from different locations:
public Map< String, View > getViews()
{
final HashMap< String, View > views = new LinkedHashMap<>();
// combine the individual source views...
for ( String sourceName : dataset.sources.keySet() )
{
views.put( sourceName, dataset.sources.get( sourceName ).get().view );
}
// ...with the additional views
views.putAll( dataset.views );
return views;
}
I think we should rename all of this to views so that we don't include the term bookmark in the spec any longer
yes
Done. @tischi I added an example for the extra views here: https://github.com/mobie/zebrafish-lm-datasets/blob/spec-v2/data/membrane/misc/views/more_grid_views.js
Currently, in the new spec additional views can be added like this:
And
some_file.json
looks like this:Where the entries follow the view spec.
I think we should rename all of this to
views
so that we don't include the term bookmark in the spec any longer, i.e.Let me know what you think @tischi.
p.s. we don't have an example for additional views yet, I will add it once we decide on this so it can be tested in the viewer.