Skip to content

Commit

Permalink
Update table.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Ly <rly@lbl.gov>
  • Loading branch information
mavaylon1 and rly committed Nov 7, 2023
1 parent 345f849 commit 1d7fd83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdmf/common/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def __gather_columns(cls, name, bases, classdict):
raise TypeError(msg)

if len(bases) and 'DynamicTable' in globals():
for item in bases[::-1]: # reverse the bases tuple as the code suggest it should be last
for item in bases[::-1]: # look for __columns__ in the base classes, closest first
if issubclass(item, Container):
try:
if item.__columns__ is not cls.__columns__:
Expand Down

0 comments on commit 1d7fd83

Please sign in to comment.