Skip to content

Commit

Permalink
added TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed May 2, 2024
1 parent a0e1736 commit 538ba98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdmf/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ def html_table(item_dicts) -> str:
report += "</table>"
return report

if hasattr(array, "nbytes"):
if hasattr(array, "nbytes"): # TODO: Remove this after h5py minimal version is larger than 3.0
array_size_in_bytes = array.nbytes
else:
array_size_in_bytes = array.size * array.dtype.itemsize
Expand Down

0 comments on commit 538ba98

Please sign in to comment.