-
Notifications
You must be signed in to change notification settings - Fork 141
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
[ENH] New fNIRS example dataset: (non-)auto finger/foot tapping #323
[ENH] New fNIRS example dataset: (non-)auto finger/foot tapping #323
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can ignore the checks of the "stable" validator -- but the "master" checks should succeed.
There is an issue with the phenotype folder that relates to some points in this discussion: bids-standard/bids-specification#914
There are also more errors that could be interesting to look into to either fix the validator, this example, or the spec itself 👍
Thanks!
With two small changes to the There was one issues that I resolved using the |
Why not reformat the dataframe to "wide" format, e.g.
instead of
|
Because of human readability reasons: It has 8 columns (i.e. 7 data columns), which would result in a wide format that is 1+5*7=36 columns wide. On top of that, one of the 8 columns (the last) is "notes" in a free-text format that can contains whole sentences (or n/a when not specified). An alternative solution that we considered (but also decided against) is to split it over 5 files. That also negatively affects the human readability, as you would have to scan over 5 files to see how performance (and subjective experience) changes over the 5 training days. Since this dataset is not meant as a phenotype example, and since the phenotype validation is apparently not optimal yet, I consider it fine if the phenotype data in this dataset is treated as exception. I could also leave it out, but then the test dataset would diverge from the actual one. |
Thank you Robert for this PR. It is now merged. Can someone please kick the CI to see if the master now goes green. |
This is a wonderful example dataset. I learnt lots from looking through it. It provides a great compliment to #305, beyond being a different device it has many differences to 305 including:
Thanks for adding this example. It all looks great to me |
done, and it comes back green :-) |
That compliment goes to @helenacockx |
Thank you, Robert, for the adaptations to make it pass through the validator! |
The updates from Robert look excellent! I have nothing more to add. |
- fixed AnatomicalLandmarkCoordinateSy_t_em - fixed NIRSCoordinateUnit_e_s - removed txt from CHANGES - added stimulus MATLAB m-files to bidsignore - added sub-95 with n/a to practicelogbook.tsv - use n/a for empty cells in practicelogbook.tsv - added practicelogbook.tsv to bidsignore - HACK - removed sub-77 json files from sub-75/nirs directory - replaced 0-byte (empty) snirf files with 1-byte (still empty) snirf files - HACK - use forward slashes in scans.tsv - inserted "type" column in all optodes.tsv files - reordered the columns of channels.tsv
984d103
to
f4cc93d
Compare
Thanks @robertoostenveld |
* fNIRS example dataset (BEP030) (#305) * Add fNIRS example dataset * Use nirs branch for validator * Update fnirs_tapping/dataset_description.json Co-authored-by: Stefan Appelhoff <stefan.appelhoff@mailbox.org> * Fix spacing in name * revert link change validator Co-authored-by: Stefan Appelhoff <stefan.appelhoff@mailbox.org> * [ENH] New fNIRS example dataset: (non-)auto finger/foot tapping (#323) * added another example dataset for fNIRS, see #317 * use the nirs branch of the validator from rob-luke/bids-validator * replaced "large" PDF file with a zero-byte version * updated fNIRRS example dataset to pass the validator - fixed AnatomicalLandmarkCoordinateSy_t_em - fixed NIRSCoordinateUnit_e_s - removed txt from CHANGES - added stimulus MATLAB m-files to bidsignore - added sub-95 with n/a to practicelogbook.tsv - use n/a for empty cells in practicelogbook.tsv - added practicelogbook.tsv to bidsignore - HACK - removed sub-77 json files from sub-75/nirs directory - replaced 0-byte (empty) snirf files with 1-byte (still empty) snirf files - HACK - use forward slashes in scans.tsv - inserted "type" column in all optodes.tsv files - reordered the columns of channels.tsv * renamed stim to stimuli * added SourceType back to a JSON file where I accidentally deleted it * revert validator branch change, add entry to README Co-authored-by: Stefan Appelhoff <stefan.appelhoff@mailbox.org> Co-authored-by: Rob Luke <code@robertluke.net> Co-authored-by: Robert Oostenveld <r.oostenveld@gmail.com>
this replaces #317 and follows up on this conversation