Closed hoechenberger closed 2 months ago
Working on https://mne.discourse.group/t/minor-priority-issue-with-converting-mne-raw-into-bids-with-mne-bids-age-birthday-info-of-subject/5922, I realized that a subject's birthday must be specified as a tuple of ints. I believe this is inconsistent with the way we allow to specify the measurement date (datetime object).
It should be possible to specify Info['subject_info']['birthday'] as a datetime.datetime object.
Info['subject_info']['birthday']
datetime.datetime
–
No response
@larsoner Any opinion on that?
Agreed this makes sense. We can gradually transform these tuple-of-two-int into datetime as we find them.
datetime
Describe the new feature or enhancement
Working on https://mne.discourse.group/t/minor-priority-issue-with-converting-mne-raw-into-bids-with-mne-bids-age-birthday-info-of-subject/5922, I realized that a subject's birthday must be specified as a tuple of ints. I believe this is inconsistent with the way we allow to specify the measurement date (datetime object).
Describe your proposed implementation
It should be possible to specify
Info['subject_info']['birthday']
as adatetime.datetime
object.Describe possible alternatives
–
Additional context
No response