datajoint-python
datajoint-python copied to clipboard
No error is thrown when a table name contains `_`
When creating a Table with a name that contains an underscore _
, there is no error that is being thrown Instead the table can be used normally.
However, it will throw an error when a virtual module is created from the schema that contains such an invalid table.
Example error message when trying to create a virtual module:
The table __example_table__invalid_name does not follow DataJoint naming conventions
@KonstantinWilleke Thanks for reporting this! Looks like the issue here is that the table declaration parsing is not properly instructing you that a table name such as Experimental_Session
is invalid compared to ExperimentalSession
. We will address this as an error reporting issue. Our documentation does indicate this properly here.
Thanks a lot for picking it up! Cheers from germany :-)