Description
In the eeg_matchingpennies
example on the BIDS-examples repository, we have the following HED string:
It passes the validation of the bids-validator, which means it also passes HED validation.
However, passing this string into the online string validator at https://hedtools.org/hed/strings yields the following errors:
Errors for HED string 0:
TAG_REQUIRES_CHILD: Descendant tag required - 'Delay'
TAG_REQUIRES_CHILD: Descendant tag required - 'Duration'
CHARACTER_INVALID: Invalid character ' ' in tag 'Time-block/68 ms'
String used:
(Agent-action, Participant-response, (Lift, (Hand, (Left-side-of, Experiment-participant))), (Release, (Mouse-button, (Left-side-of, Experiment-participant)))), (Delay, Duration, (Approximately-equal-to, Time-block/68 ms)), (Sensory-event, Visual-presentation, (Drawing, (ID/left_hand.png, Hand, (Left-side-of, Computer-screen))), (Feedback, Penalty)), Description/Subject raised left hand and computer presented image of hand to left side
The errors can be solved by taking this part:
(Delay, Duration, (Approximately-equal-to, Time-block/68 ms))
and reducing it to:
Delay/#68ms
... although I feel like the nuance of that 68ms is only "approximated" is lost.