You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the schema language document does not indicate that there are any rules for name, default_name, neurodata_def, or neurodata_inc. I think we should add this pattern: "^[A-Za-z_][A-Za-z0-9_]*$"
which means each name must start with a letter can can contain letters, numbers, and underscores, but not spaces, periods, or other punctuation.
The motivations are:
matnwb has issues when names contain spaces.
pynwb has issues when names contain slashes.
This allows us to more easily create classes with names that match the schema, which is not strictly necessary but is a good idea.
The entire core schema currently follows this rule.
The text was updated successfully, but these errors were encountered:
oruebel
transferred this issue from NeurodataWithoutBorders/nwb-schema
Sep 16, 2021
Right now the schema language document does not indicate that there are any rules for name, default_name, neurodata_def, or neurodata_inc. I think we should add this pattern:
"^[A-Za-z_][A-Za-z0-9_]*$"
which means each name must start with a letter can can contain letters, numbers, and underscores, but not spaces, periods, or other punctuation.
The motivations are:
The entire core schema currently follows this rule.
The text was updated successfully, but these errors were encountered: