Skip to content

Commit

Permalink
except
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed Mar 12, 2024
1 parent bb4b422 commit 55479e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/hdmf/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ def _field_config(self, arg_name, val):
will be wrapped with a TermSetWrapper.
"""
# load termset configuartion file from global Config

Check failure on line 100 in src/hdmf/container.py

View workflow job for this annotation

GitHub Actions / Check for spelling errors

configuartion ==> configuration
configurator = self.type_map.ts_config
try:
configurator = self.type_map.ts_config
except AttributeError: # This is for containers that are not registered, e.g., testing classes.
return val

if len(configurator.path)>0:
CUR_DIR = os.path.dirname(os.path.realpath(configurator.path[0]))
termset_config = configurator.config

Check warning on line 108 in src/hdmf/container.py

View check run for this annotation

Codecov / codecov/patch

src/hdmf/container.py#L107-L108

Added lines #L107 - L108 were not covered by tests
Expand Down

0 comments on commit 55479e3

Please sign in to comment.