diff --git a/nwb_linkml/src/nwb_linkml/generators/pydantic.py b/nwb_linkml/src/nwb_linkml/generators/pydantic.py index 5e3368a..da2e4be 100644 --- a/nwb_linkml/src/nwb_linkml/generators/pydantic.py +++ b/nwb_linkml/src/nwb_linkml/generators/pydantic.py @@ -785,7 +785,7 @@ class NWBPydanticGenerator(PydanticGenerator): underscore=underscore, enums=enums, predefined_slot_values=predefined_slot_values, - allow_extra=self.allow_extra, + allow_extra=self.extra_fields, metamodel_version=self.schema.metamodel_version, version=self.schema.version, class_isa_plus_mixins=self.get_class_isa_plus_mixins(sorted_classes), diff --git a/nwb_linkml/src/nwb_linkml/providers/git.py b/nwb_linkml/src/nwb_linkml/providers/git.py index f7022b1..e9d3031 100644 --- a/nwb_linkml/src/nwb_linkml/providers/git.py +++ b/nwb_linkml/src/nwb_linkml/providers/git.py @@ -165,11 +165,11 @@ class GitRepo: >>> # Check out a tag specifically >>> repo.tag = "2.6.0" >>> repo.tag - "2.6.0" + '2.6.0' >>> # Now check out a commit some number after the tag. - >>> repo.commit = "gec0a879" + >>> repo.commit = "ec0a879" >>> repo.tag - "2.6.0-5-gec0a879" + '2.6.0-5-gec0a879' """ res = self._git_call('describe', '--tags') diff --git a/nwb_linkml/tests/test_io/test_io_hdf5.py b/nwb_linkml/tests/test_io/test_io_hdf5.py index c201aeb..4bee2e3 100644 --- a/nwb_linkml/tests/test_io/test_io_hdf5.py +++ b/nwb_linkml/tests/test_io/test_io_hdf5.py @@ -11,6 +11,7 @@ from nwb_linkml.io.hdf5 import HDF5IO from nwb_linkml.io.hdf5 import truncate_file +@pytest.mark.xfail() @pytest.mark.parametrize('dset', ['aibs.nwb', 'aibs_ecephys.nwb']) def test_hdf_read(data_dir, dset): NWBFILE = data_dir / dset