diff --git a/anatomy/static/js/anatomy.js b/anatomy/static/js/anatomy.js index ee4cb70a..ffb1c10c 100644 --- a/anatomy/static/js/anatomy.js +++ b/anatomy/static/js/anatomy.js @@ -1,5 +1,7 @@ import * as dicomViewer from "./dicomViewer.js" +window.dicomViewer = dicomViewer; + window.marked_answers = { "correct": [], "half-correct": [], diff --git a/atlas/templates/atlas/series_viewer.html b/atlas/templates/atlas/series_viewer.html index 63e50ec5..efb478eb 100755 --- a/atlas/templates/atlas/series_viewer.html +++ b/atlas/templates/atlas/series_viewer.html @@ -104,6 +104,8 @@ This series is not associated with any cases. cornerstone.getEnabledElement(dicom_element).viewport = viewport cornerstone.resize(dicom_element); + dicomViewer.get + }); diff --git a/static/js/anatomy.js b/static/js/anatomy.js index ee4cb70a..ffb1c10c 100644 --- a/static/js/anatomy.js +++ b/static/js/anatomy.js @@ -1,5 +1,7 @@ import * as dicomViewer from "./dicomViewer.js" +window.dicomViewer = dicomViewer; + window.marked_answers = { "correct": [], "half-correct": [],