raise Error for orphaned containers #655
Labels
help wanted: deep dive
request for community contributions that will involve many parts of the code base
Milestone
Problem/Use Case
Currently, orphaned containers i.e. containers with no parent result in a raised warning. This should raise an Error instead.
The relevant code is in pynwb.form.build.map.ObjectMapper.__add_containers:
pynwb/src/pynwb/form/build/map.py
Lines 777 to 783 in f671b8d
This will likely break some tests and will require refactoring some parts of the test suite.
Checklist
The text was updated successfully, but these errors were encountered: