-
Notifications
You must be signed in to change notification settings - Fork 1
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
Non-sanitized session strings in DANDI:000473 #10
Comments
yes, ATM you would need to sanitize any non-alphanumeric to some alphanumeric to become BIDS-compliant. back refs on related efforts |
right away -- if identical there should be no
|
but the string I got contains an underscore. I know how to fix it, but it seems to contradict the statement about what's already sanitized in DANDI. If I only need to replace |
Let me repeat
so it means that you need to replace underscore as well... and whitelist is just "alphanumeric" characters. |
Fixed as of 0034ce4 |
Relevant snippet:
I'm pretty sure this is what the metadata looks like in the DANDI archive, and it's read here →
nwb2bids/nwb2bids/base.py
Line 178 in 6faed97
@yarikoptic I can sanitize as you suggested, replace all manner of special characters with
X
, just that you said in the meeting today DANDI already sanitizes them, but I don't think it did here.The text was updated successfully, but these errors were encountered: