-
Notifications
You must be signed in to change notification settings - Fork 52
Add database checks to the EEG BIDS import integration test #1346
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
base: main
Are you sure you want to change the base?
Add database checks to the EEG BIDS import integration test #1346
Conversation
a0f5a82 to
ed98eba
Compare
f0529f1 to
08a97c2
Compare
| 'HardwareFilters': 'n/a', | ||
| 'SoftwareFilters': 'n/a', |
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.
Unrelated to this PR, but shouldn't we store NULL in the database instead of 'n/a' ?
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.
The string 'n/a' is the BIDS-recognized version of NULL and these fields were pulled directly from the *_eeg.json spec
08a97c2 to
27f034e
Compare
eaefb46 to
d1803e9
Compare
d1803e9 to
1b26881
Compare
4645f70 to
e04ba3a
Compare
jeffersoncasimir
left a comment
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.
I approve these changes and new helper functions
Description
This PR does what the title says it does. The code is rather straightforward. The only somewhat tricky part is that the tests failed because the imported file was already present in Raisinbread. I added some overrides to remove existing physiological files, which is a little dirty IMO but should do the job for now.