From 9306f7e688aaa105fec6a35bb52c2922edc841ed Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Mon, 4 Sep 2023 22:00:43 -0700 Subject: [PATCH] remove debugging flag --- hdf5_linkml/tests/__init__.py | 0 nwb_linkml/adapters/group.py | 2 -- tests/test_translate.py | 6 ++++++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 hdf5_linkml/tests/__init__.py diff --git a/hdf5_linkml/tests/__init__.py b/hdf5_linkml/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/nwb_linkml/adapters/group.py b/nwb_linkml/adapters/group.py index dcab2ff..766dea6 100644 --- a/nwb_linkml/adapters/group.py +++ b/nwb_linkml/adapters/group.py @@ -15,8 +15,6 @@ class GroupAdapter(ClassAdapter): cls: Group def build(self) -> BuildResult: - if self.cls.neurodata_type_def == "Subject": - pdb.set_trace() # Handle container groups with only * quantity unnamed groups if len(self.cls.groups) > 0 and \ all([self._check_if_container(g) for g in self.cls.groups]) and \ diff --git a/tests/test_translate.py b/tests/test_translate.py index e0f10cc..f403555 100644 --- a/tests/test_translate.py +++ b/tests/test_translate.py @@ -1,9 +1,15 @@ +import pdb + import pytest from pathlib import Path from nwb_linkml.translate import generate_from_nwbfile 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') #pydantic_module = generate_from_nwbfile(NWBFILE) + #pdb.set_trace()