[Bug]: Exporting a file with missing required attributes does not throw error. #2038
Open
3 tasks done
Labels
category: bug
errors in the code or code behavior
priority: medium
non-critical problem and/or affecting only a small set of NWB users
What happened?
The following code snippet throws a warning, but allows the user to export a file that breaks relative to the schema. According to the schema, the
source_script_file_name
property is required whensource_script
is filled out.See here for an a small discussion in MatNWB: NeurodataWithoutBorders/matnwb#667
Question: Should this throw an error instead?
Steps to Reproduce
Traceback
Operating System
macOS
Python Executable
Python
Python Version
3.11
Package Versions
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: