From 8833fb61053c6ba7c9dba425a276224d73901b3b Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 7 Oct 2024 09:36:51 +0100 Subject: [PATCH] . --- atlas/templates/atlas/series_viewer.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/atlas/templates/atlas/series_viewer.html b/atlas/templates/atlas/series_viewer.html index 0317ed89..aa1ab64d 100755 --- a/atlas/templates/atlas/series_viewer.html +++ b/atlas/templates/atlas/series_viewer.html @@ -281,7 +281,8 @@ //cornerstone.getEnabledElement(dicom_element).toolStateManager.restoreToolState(annotationjson) cornerstone.resize(dicom_element); - current_image_id_index = parseInt(current_image_id_index); + console.log("current_image_id_index", current_image_id_index) + //current_image_id_index = parseInt(current_image_id_index); console.log(current_image_id_index, Number.isInteger(current_image_id_index)) if (Number.isInteger(current_image_id_index)) { @@ -289,7 +290,8 @@ dicomViewer.loadStackIndex(current_image_id_index, dicom_element); } else { try { - dicomViewer.loadImageById(current_image_id_index, dicom_element); + console.log("current_image_id_index", current_image_id_index) + dicomViewer.loadImageById(current_image_id_index, dicom_element); } catch (e) { console.log("loading image by id failed") console.log("loading next annotation image")