This commit is contained in:
Ross
2021-02-14 10:40:34 +00:00
parent 12f8f64175
commit c8020bdba0
3 changed files with 5 additions and 5 deletions
+3 -1
View File
@@ -42,7 +42,9 @@ def pil_dicom_image(source, exif_orientation=True, **options):
# return
#source = BytesIO(source.read())
ds = pydicom.read_file("filename")
print("start pdi")
ds = pydicom.read_file(source)
image = get_PIL_image(ds)
+2
View File
@@ -231,6 +231,8 @@ class LongSeries(models.Model):
return "No images", 0
img = findMiddle(images).image
thumbnailer = get_thumbnailer(img)
thumbnail = thumbnailer["exam-list"]
try:
thumbnailer = get_thumbnailer(img)
thumbnail = thumbnailer["exam-list"]
-4
View File
@@ -207,7 +207,3 @@ try:
from .settings_local import *
except ImportError:
pass
<<<<<<< HEAD
=======
>>>>>>> 5763aae287cbceee318f975495f7d9429517c88f