Skip to content

Commit

Permalink
namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed Mar 28, 2024
1 parent 5efb5e0 commit 13ee1f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/hdmf/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ def _field_config(self, arg_name, val):
termset_config = configurator.config
else:
return val

# check to see that the namespace for the container is in the config
if self.namespace not in type_map.container_types:
msg = "%s not found within loaded configuration." % self.namespace
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_term_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ class ExtensionContainer(Container):

def __init__(self, **kwargs):
description, namespace = popargs('description', 'namespace', kwargs)
self.namespace = namespace
super().__init__(**kwargs)
self.description = description

Expand Down

0 comments on commit 13ee1f4

Please sign in to comment.