-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should "n/a" be allowed in the onset
column of events.tsv
#1943
Comments
My read of common principles is that any TSV column can have missing values indicated with n/a.
For the validator, we verify that the existing values are sorted, ignoring n/a. For design matrix generation, I would just drop the rows on ingestion, since they are not usable without an onset and duration. Tbh, I don't know what the use case for these is. I'd be okay saying that tools SHOULD drop rows with these onsets, and then somebody who has something to do with them can neglect that. I don't think we give much interpretation guidance to tools, so I'm not sure exactly how or where to say that. |
My concern is not tsv columns in general but the "onset" column in particular: https://bids-specification.readthedocs.io/en/stable/glossary.html#onset-columns. This description mentions positive and negative values very specifically and what the behavior should be. |
Let me give a little more background on this issue. In the past, the HED validators have assumed that the
Our downstream HED tools expect that the "n/a" onset rows are filtered out before they get them. Before we go forward with this and eventually get it into the HED JavaScript validator, we would appreciate a definitive statement in the specification about whether "n/a" is allowed and how it should be interpreted. For example in the Task Events chapter the discussion of |
It can be negative too. Just add:
After
|
The current description of
onset
in Task events says that the onset column may have 0, positive and negative values. It does not explicitly say it does not allow "n/a", although I believe that somewhere in the past that was in the spec. The current description ofduration
explicitly says that it can be "n/a" and what that means.My question is --- is "n/a" really allowed in the
onset
column. If so, what does it mean and how are tools required to handle it?This should be made explicit in the specification and in the schema.
This issue is related to issue #1938 and to issue hed-standard/hed-python#1026.
The text was updated successfully, but these errors were encountered: