-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spots initialisation #7
Comments
Yes!
This sounds to me like we should change how the table is specified in the source level metadata, and specify the default table there instead of in the view.
and in the view we should change If we want to do these changes we should do it for both segmentation and spot source (also since you are using the same logic here as far as I understand). It should still be possible to support segmentations without a table; but spot sources will always have a table (since it's their only source of data). Let me know if this is what you have in mind, then I can change the table spec here (and we can eventually update it everywhere else). |
Seems to make sense to me. If there is a table folder, I would say there MUST be a default table in that folder. Thus requiring this on the source level feels right. |
I updated the table spec here and also added a branch with a updated segmentation table spec in another project: mobie/sponge-fibsem-project#2 |
Thanks, I am struggling to deserialise this though...
I tried:
with
Maybe on the JSON level the
needs to go into a field, e.g. called |
What I did in the |
That doesn't make sense, we use the same layout |
yes, but now you added another field into |
Ok, I see. (And always forget how annoying java is ;)). |
ok, so if you want you could merge the |
I changed it to include the |
@constantinpape
A
spots
source could be transformed, right?That means that we treat it essentially like an
image
or asegmentation
source, right?There is something confusing now. Because to instantiate the
spots
I need the table.Thus, specifying the
default
table in thespotDisplay
is too late.Maybe I should open the
default
table anyway and then potentially add more tables later during the display?In fact that's also how my code for the
segmentation
looks like.In that sense, specifying the
default
table at the display level is weird, because we MUST have adefault
table?! Ah, maybe for segmentation we also allow without any table...But for spots?
The text was updated successfully, but these errors were encountered: