dicom-microscopy-viewer icon indicating copy to clipboard operation
dicom-microscopy-viewer copied to clipboard

On line example site doesn't work

Open yliu7366 opened this issue 3 years ago • 8 comments

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

yliu7366 avatar Jun 02 '21 13:06 yliu7366

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?

hackermd avatar Jun 04 '21 11:06 hackermd

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?

Punzo avatar Jun 04 '21 11:06 Punzo

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.

igoroctaviano avatar Jun 04 '21 17:06 igoroctaviano

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

swederik avatar Jun 04 '21 17:06 swederik

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

Sledzik avatar Jun 16 '21 11:06 Sledzik

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">.

hackermd avatar Jun 16 '21 12:06 hackermd

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 https://github.com/MGHComputationalPathology/dicom-microscopy-viewer/issues/55#issuecomment-862343823).

hackermd avatar Jun 16 '21 12:06 hackermd

https://github.com/MGHComputationalPathology/dicom-microscopy-viewer/blob/master/examples/blend/index.html#L23-L28

Punzo avatar Jun 16 '21 12:06 Punzo