mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-10 00:34:29 +00:00
remove debugging flag
This commit is contained in:
parent
78d2ec59d7
commit
9306f7e688
3 changed files with 6 additions and 2 deletions
0
hdf5_linkml/tests/__init__.py
Normal file
0
hdf5_linkml/tests/__init__.py
Normal 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 \
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue