remove debugging flag

This commit is contained in:
sneakers-the-rat 2023-09-04 22:00:43 -07:00
parent 78d2ec59d7
commit 9306f7e688
3 changed files with 6 additions and 2 deletions

View file

View file

@ -15,8 +15,6 @@ class GroupAdapter(ClassAdapter):
cls: Group cls: Group
def build(self) -> BuildResult: def build(self) -> BuildResult:
if self.cls.neurodata_type_def == "Subject":
pdb.set_trace()
# Handle container groups with only * quantity unnamed groups # Handle container groups with only * quantity unnamed groups
if len(self.cls.groups) > 0 and \ if len(self.cls.groups) > 0 and \
all([self._check_if_container(g) for g in self.cls.groups]) and \ all([self._check_if_container(g) for g in self.cls.groups]) and \

View file

@ -1,9 +1,15 @@
import pdb
import pytest import pytest
from pathlib import Path from pathlib import Path
from nwb_linkml.translate import generate_from_nwbfile from nwb_linkml.translate import generate_from_nwbfile
def test_generate_pydantic(): def test_generate_pydantic():
# pass until we rig up smaller test data
pass
#NWBFILE = Path('/Users/jonny/Dropbox/lab/p2p_ld/data/nwb/sub-738651046_ses-760693773.nwb') #NWBFILE = Path('/Users/jonny/Dropbox/lab/p2p_ld/data/nwb/sub-738651046_ses-760693773.nwb')
#pydantic_module = generate_from_nwbfile(NWBFILE) #pydantic_module = generate_from_nwbfile(NWBFILE)
#pdb.set_trace()