.
This commit is contained in:
+1
-1
@@ -655,7 +655,7 @@ class Series(SeriesBase):
|
|||||||
with pydicom.dcmread(image.image) as ds:
|
with pydicom.dcmread(image.image) as ds:
|
||||||
date = ds.get("StudyDate", "No date")
|
date = ds.get("StudyDate", "No date")
|
||||||
|
|
||||||
self.description = date
|
self.description = f"{date[:4]}-{date[4:6]}-{date[6:]}"
|
||||||
|
|
||||||
self.save()
|
self.save()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user