ImagingDataCommons/dicom-microscopy-viewer

On line example site doesn't work

yliu7366 opened this issue · 10 comments

The on line example website (https://microscopy.dcmjs.org/) doesn't display WSIs and shows white blank pages.

Thank you @yliu7366 for reporting the issue. The seems the examples have not been updated server-side. @pieper @swederik @Punzo @igoroctaviano do you have any insight into why the examples are not up-to-date on the server?

Punzo commented

I don't have access to the server, maybe Igor, Erik for sure.

@swederik are the examples being deployed automatically in https://microscopy.dcmjs.org/ when a release is done (we are currently at version 0.30.1 and the examples are probably at version ~0.20)? or is something that we need to start manually?

Screen Shot 2021-06-04 at 14 18 29

I'm not sure why but for sure something is wrong with this latest deployed example site.

Is it not using the es5 output? Otherwise you could try providing it with the module tag in the <script> link?

How can I quickly check features if the online examples don't work?

The examples also don't work locally when using <script src="https://unpkg.com/dicom-microscopy-viewer"></script>. However, they work when using <script src="../../build/dicom-microscopy-viewer.js">.

How can I quickly check features if the online examples don't work?

@Sledzik you can check locally, instructing <script>...</script> to use the locally built bundle (see above #55 (comment)).