Skip to content

Commit 4ac551e

Browse files
committed
ENH: Adds "AcquisitionTime" to the seqinfo
1 parent d8e5c5f commit 4ac551e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

heudiconv/dicoms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def create_seqinfo(mw, series_files, series_id):
8989
patient_age=dcminfo.get('PatientAge'),
9090
patient_sex=dcminfo.get('PatientSex'),
9191
date=dcminfo.get('AcquisitionDate'),
92+
time=dcminfo.get('AcquisitionTime'),
9293
series_uid=dcminfo.get('SeriesInstanceUID')
9394
)
9495
return seqinfo

heudiconv/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
'patient_age', # 22
4646
'patient_sex', # 23
4747
'date', # 24
48-
'series_uid', # 25
48+
'time', # 25
49+
'series_uid', # 26
4950
]
5051

5152
SeqInfo = namedtuple('SeqInfo', seqinfo_fields)

0 commit comments

Comments
 (0)