diff --git a/anatomy/static/js/anatomy.js b/anatomy/static/js/anatomy.js index e7cb87c5..52f206c2 100644 --- a/anatomy/static/js/anatomy.js +++ b/anatomy/static/js/anatomy.js @@ -212,6 +212,12 @@ window.loadDicomViewerEvent = new Event('loadDicomViewerUrls'); window.addEventListener('loadDicomViewerUrls', function (e) { console.log("LoadDicomViewer unls event", e.detail) + // Skip loading old viewer if using new dv3d viewer (set on new_uploads page) + if (window.skipLoadDicomViewer) { + console.log("Skipping old loadDicomViewer - using dv3d instead"); + return; + } + loadDicomViewer(e.detail.images, e.detail.annotations); }, false); diff --git a/atlas/templates/atlas/base.html b/atlas/templates/atlas/base.html index 37d7f547..046317ba 100755 --- a/atlas/templates/atlas/base.html +++ b/atlas/templates/atlas/base.html @@ -119,14 +119,26 @@ -
Select a folder, review grouped studies/series, run anonymisation checks, then upload.
+This form allows you to quickly upload dicom files to the server. Select the folder containing the dicom files below. If you wish to upload files directly from Insight you may prefer to use the Uploader tool.
-Only valid dicom files will be uploaded.
-It is possible to upload multiple files by selecting the parent (containing) folder. Folders within will then be searched recursively for any valid dicom files.
-Files to be uploaded will be displayed below.
-DICOM tags will be checked to see if valid accession or hospital numbers are present but no annonymisation will be performed.
-An attempt to detect duplicates will be made by calculating a hash of the pixel data in the DICOM files. If this check is not run and the files are uploaded they will be rejected.
-If enabled a basic OCR will also be performed to check for burned in details on images, this is resource intensive and can be disabled if you know the content you are uploading does not feature any patient details.
-Potential anonymisation issues were detected. Flagged series are highlighted below.
Only override if you are certain the warnings are false positives.
+