forked from hdmf-dev/hdmf-schema-language
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels