Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 8, 2025
1 parent 5e6a4b3 commit 672d91c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdmf/spec/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ def is_inherited_spec(self, **kwargs):
if parent_name is None:
parent_name = spec.parent.data_type
if isinstance(spec.parent, DatasetSpec):
if (parent_name in self.__datasets and self.is_inherited_dataset(parent_name) and
if (parent_name in self.__datasets and self.is_inherited_dataset(parent_name) and
self.__datasets[parent_name].get_attribute(spec_name) is not None):
return True
else:
Expand Down

0 comments on commit 672d91c

Please sign in to comment.