This commit is contained in:
Ross
2021-02-26 10:37:08 +00:00
parent fd2f4523e3
commit 25d7f251ec
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -110,4 +110,4 @@ def get_dicom_order(path):
for i in slices:
print(map[i.SliceLocation])
get_dicom_order("/home/ross/Downloads/DICOM HEAD/STD4/SER1/*.dcm")
#get_dicom_order("/home/ross/Downloads/DICOM HEAD/STD4/SER1/*.dcm")
+1 -1
View File
@@ -323,7 +323,7 @@ This form will create a image set that can be associated with a long question. I
<h3>Images:</h3>
<input type="button" value="Add More Images" id="add_more_images">
<div id="drop-container" class="">Drop images here (or use the buttons below). Dropping images here will overwrite existing images in the series. When drag and dropping make sure to drag the first image or the order will not be maintained.
<div id="drop-container" class="">Drop images here (or use the buttons below). Dropping images here will overwrite existing images in the series. When drag and dropping make sure to drag the first image or the order will not be maintained. Note: dicom images are often not exported in order (although their order can be automatically detected once uploaded)
<div id="single-dicom-viewer" class="dicom-viewer" data-images="" data-annotations=''></div>
<div id="drop-filenames"></div>
</div>
+3
View File
@@ -199,6 +199,9 @@ THUMBNAIL_ALIASES = {
},
}
DATA_UPLOAD_MAX_NUMBER_FIELDS = 50000
THUMBNAIL_SOURCE_GENERATORS = ('easy_thumbnails.source_generators.pil_image', 'helpers.images.pil_dicom_image')
DBBACKUP_STORAGE = 'django.core.files.storage.FileSystemStorage'
DBBACKUP_STORAGE_OPTIONS = {'location': os.path.join(BASE_DIR, '../backups')}