Skip to content

Consider allowing alphanumeric sub and ses labels following BIDS specification #74

@glopesdev

Description

@glopesdev

Is there a strong reason why subject and session labels must be numerical values in the neuro blueprint?

In the BIDS specification it looks like these two attributes are defined as Entities, and specifically the Value type of an entity is defined as being either "A non-negative integer, potentially zero-padded for consistent width." or "An alphanumeric string. Note that labels MUST not collide when casing is ignored".

In the example for Case collision intolerance they specifically show an example of a valid string sub-S1 which is non-numeric.

Allowing for alphanumeric subject names would avoid the need for an additional id attribute, since in many cases it could perhaps be plugged in directly into sub.

Allowing alphanumeric session names would potentially avoid the need for additional datetime fields, since we could plug the ISO8601 alphanumeric format as a unique session identifier directly into ses.

Is the concern that chronological order might be lost? ISO8601 format ensures that lexicographic sorting matches chronological time, so this shouldn't be a problem. For independent subjects, conceptually the order is in principle not important most of the times, and of course if it is then the experimenter would be able to use the format to indicate this anyway without requiring change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions