Skip to content

Please explicitly list "valid" characters #643

@yarikoptic

Description

@yarikoptic

ATM https://hed-specification.readthedocs.io/en/latest/Appendix_B.html#character-invalid says

a. An invalid character (character code < 32 or 127 <= character code < 160) appears in a HED string.

Humans rarely have ASCII table embedded in their brains, and require computing assistance. It would be great to spell out here what are those valid ones, so as "Valid characters are alpha-numerics of arbitrary casing, and ..."

E.g. in my case I got

        [ERROR] HED_ERROR The validation on this HED string returned an error.
                VALUE_INVALID
                /sub-0132/ses-04/func/sub-0132_ses-04_task-fractional_acq-mb8_run-01_events.tsv - ERROR: [VALUE_INVALID] Invalid placeholder value for tag "Organizational-property/Control-variable/reaching?". TSV line: "2". (For more information on this HED error, see https://hed-specification.readthedocs.io/en/latest/Appendix_B.html#value-invalid.)
                /sub-0132/ses-04/func/sub-0132_ses-04_task-fractional_acq-mb8_run-01_events.tsv - ERROR: [VALUE_INVALID] Invalid placeholder value for tag "Organizational-property/Control-variable/reaching?". TSV line: "3". (For more information on this HED error, see https://hed-specification.readthedocs.io/en/latest/Appendix_B.html#value-invalid.)

                13822 more files with the same issue

        Please visit https://neurostars.org/search?q=HED_ERROR for existing conversations about this issue.

so I assume it is about "?"? but that one seem to be code 64, which seems to be not an "invalid", thus a valid one?

Listing valid ones explicitly would help to get me an answer

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