-
Notifications
You must be signed in to change notification settings - Fork 109
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
Validation error with '.sqd' MEG files #845
Comments
Seems like a bug. SQD should be recognized by this regular expression (though it is a pain to try to read): Is there any chance that there's something more fundamental? For instance, where does |
Hi Chris, thanks for your reply - Jon and I work on this project together. Here's a screenshot of our 'tree', with 'motor' being the top-level directory that we input into the bids-validator. The reason we think this is a bug having to do with the .sqd extension is that our subjects also have data from other measurement modalities (e.g. fMRI , in the session 'nyu3t01' in the highlighted example) with the same naming scheme and tree structure and we don't get errors for any of those files, or for the .tsv and .json files with the same names; only for the _markers.sqd and _meg.sqd for all the subjects in the dataset. In case it's helpful, I've also attached the validator error file here (as you can see there are two more errors but we know why those are there and how to fix them). Could it be that the validator is not recognizing this session as meg somehow? |
The file tree looks reasonable, which means, unfortunately, it's probably a regex problem. |
I think I may have found the error here: specifically here: why is there intervening content between https://github.com/bids-standard/bids-validator/blob/392af3ca8c6a172c5e87b210c0b56ec45989d92d/bids-validator/bids_validator/rules/file_level_rules.json#L160 |
Seems reasonable to me... Want to make a PR? |
i just understood what it is for, it is for the BTi data that have files with extensions: https://bids-specification.readthedocs.io/en/stable/99-appendices/06-meg-file-formats.html#bti4d-neuroimaging |
Hi all, we've tested the validator again (using the online browser version) on our MEG data and we no longer get the .sqd validation error. I'm not sure if it was solved by #850 or not, but regardless I think this means this issue can be closed! |
This might be an issue where the web version of the validator hadn't updated since June... We got it updating again last week. |
this one didn't, I was attempting to fix it but I just kept breaking things on my branch hehe. glad to hear it was resolved. i think it could have been a dated version. I know at one point, we had an error in the specification where we were requiring an additional enclosing folder on KIT data that was not necessary (bids-standard/bids-specification#19). |
We get errors when validating a BIDS project containing MEG files with the extension '.sqd'. We understood from the BIDS specificiation that sqd was allowable. The error is this:
Any tips appreciated.
Thanks
Jon
The text was updated successfully, but these errors were encountered: