Skip to content

info['subject_info']['birthday'] should support a datetime object #11327

Closed

Description

@hoechenberger

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 a datetime.datetime object.

Describe possible alternatives

–

Additional context

No response

Activity

  1. hoechenberger commented on Nov 21, 2022

    @hoechenberger
    MemberAuthor

    @larsoner Any opinion on that?

  2. larsoner commented on Nov 21, 2022

    @larsoner
    Member

    Agreed this makes sense. We can gradually transform these tuple-of-two-int into datetime as we find them.

  3. added this to the 1.3 milestone on Nov 21, 2022
  4. modified the milestones: 1.3, 1.4 on Dec 8, 2022
  5. modified the milestones: 1.4, 1.5 on Apr 21, 2023
  6. modified the milestones: 1.5, 1.6 on Jul 31, 2023
  7. modified the milestones: 1.6, 1.7 on Nov 7, 2023
  8. modified the milestones: 1.7, 1.8 on Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions