-
Notifications
You must be signed in to change notification settings - Fork 23
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
do not allow "/" in 'name' fields of schema #11
Comments
@bendichter @luiztauffer Old issue, I know, but this is actually going to be hard to enforce in the json schema when it is acting on paths. They have to be converted to strings even if they are really intended to be Path objects since json doesn't make the distinction. We can definitely do it for any strings that we hard-code for some reason within the ecosystem, however. |
we might have regex rules for string fields of pynwb classes schemas, we would have to adapt our |
@bendichter Can this be closed? |
I don't think this has been fixed, has it? |
Can you point to a specific place or set of places where it still needs to be fixed? Or was this an |
I was thinking we could use regex in the json schema to ensure that the "name" field of objects does not include a slash. If it does, this might be taken as an instruction to create a sub-group. |
Aha, I see. Just applied to |
Well any field that would become the name of an HDF5 Group, but I think "name" is the only one that applies to |
No description provided.
The text was updated successfully, but these errors were encountered: