Open yarikoptic opened 1 month ago
@yarikoptic @jungheejung -- sorry I didn't see this issue until just now -- if you continue to have issues, please re-post. Thx.
Several things.
1) The onset
column should not have HED in it at all. The onset
is treated as a special column and not annotated.
2) Duration
requires a value. Annotate as Duration/#
in the sidecar --- to represent one annotation that is applicable to the entire column. The #
is replaced by the actual column value when assembled. It also requires that you say what is the duration of in parentheses.
3) Please use short forms of tags.
4) As a recommended strategy, it would be good to validate the sidecar (usually there is only one per dataset) using the online tools at https://hedtools.org/hed_dev/sidecar before trying to validate your dataset.
5) The error above is for the tsv
file, which you didn't include so I can't be sure that this will be the only error.
The corrected form:
{
"onset": {
"LongName": "Onset time of event",
"Description": "Marks the start of an ongoing event of temporal extent.",
"Units": "s"
},
"duration": {
"LongName": "The period of time during which an event occurs. Refers to Image duration or response time after stimulus depending on event_type",
"Description": "a. For falsebelief and falsephoto trial types, duration refers to the image presentations of falsebelief and falsephoto stories. b. For rating_falsebelief and rating_falsephoto, duration refers to the response time to answer true false questions, followed by falsebelief or flasephoto stimulu",
"Units": "s",
"HED": "(Duration/#, (Label/Entire-event-time))"
}
}
Note: I think we could do a more precise job of annotation using the curly brace notation --- If you respond with the entire JSON file, I would be happy to suggest modifications.
Note: I think we could do a more precise job of annotation using the curly brace notation --- If you respond with the entire JSON file, I would be happy to suggest modifications.
FWIW -- Here is now the full "git portion" of that dataset shared on github: https://github.com/spatialtopology/ds005256 . Hopefully soon it would get public on openneuro
@VisLab Thank you so much for the point-by-point suggestions on the HED errors. Also appreciate the resources, such as the json HED validator.
@jungheejung The JSON files look much better. Are you still having issues with HED validation? If so, are the issues with the python validator or the bids-validator?
If you would like to have an annotation ZOOM review of your JSON files with a HED maintainer, email hed.maintainers@gmail.com.
I had a run
with full file at http://www.oneukrainian.com/tmp/hed-validator-20241011-1.log.gz happen someone has a boring weekend. But many of the errors are of the form
whenever we have
have we used HED incorrectly to provide semantic to those columns?
attn @jungheejung