From 0e28361bb0420d936fd27f218d2cca613341d631 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 4 Dec 2021 16:33:11 +0000 Subject: [PATCH] . --- anatomy/static/js/anatomy.js | 2 ++ atlas/templates/atlas/series_viewer.html | 2 ++ static/js/anatomy.js | 2 ++ 3 files changed, 6 insertions(+) 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": [],