Skip to content

Commit 135ccb9

Browse files
authored
Merge pull request #390 from AKSoo/patch-1
Empty acq_time results in empty cell not 'n/a'
2 parents b12e931 + 8f0f767 commit 135ccb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heudiconv/bids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def get_formatted_scans_key_row(dcm_fn):
413413
acq_time = datetime.strptime(td, '%H%M%S%Y%m%d').isoformat()
414414
except (AttributeError, ValueError) as exc:
415415
lgr.warning("Failed to get date/time for the content: %s", str(exc))
416-
acq_time = None
416+
acq_time = ''
417417
# add random string
418418
# But let's make it reproducible by using all UIDs
419419
# (might change across versions?)

0 commit comments

Comments
 (0)