ImagingDataCommons / slim

Interoperable web-based slide microscopy viewer and annotation tool
https://imagingdatacommons.github.io/slim/
Apache License 2.0
118 stars 36 forks source link

Comprehensive 3D SRs do not display if they contain certain measurements #182

Open CPBridge opened 9 months ago

CPBridge commented 9 months ago

Slim does not seem to display graphical annotations stored in comprehensive 3D SRs if those SRs also contain measurements with either of the following codes:

I believe this is related to the fact that Slim will produce measurements with these codes itself when using its annotation capabilities. However, these codes are very common and will be used by many other applications, so slim should be able to render them correctly in my opinion.

Specifically the behaviour that I have observed is that the ROIs appear in the right hand panel (see screenshot), but when you click the "visibility toggle" button, nothing happens. The button remains toggled off and the graphical annotations are not displayed.

I have confirmed that measurements using codes other than those above do not seem to have this issue.

I have created two example SRs demonstrating this issue. The first contains no measurements and should display correctly. The second contains measurements and should not display, but they are otherwise identical (save for UIDs).

These annotations refer publicly available images in the IDC collections and can be downloaded from:

CPBridge commented 9 months ago

@dclunie @fedorov @DanielaSchacherer