We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f6ae74 commit e3868e5Copy full SHA for e3868e5
heudiconv/bids.py
@@ -406,7 +406,7 @@ def get_formatted_scans_key_row(dcm_fn):
406
# parse date and time and get it into isoformat
407
try:
408
date = dcm_data.ContentDate
409
- time = dcm_data.ContentTime.split('.')[0]
+ time = dcm_data.AcquisitionTime.split('.')[0]
410
td = time + date
411
acq_time = datetime.strptime(td, '%H%M%S%Y%m%d').isoformat()
412
except (AttributeError, ValueError) as exc:
0 commit comments