Skip to content

Commit

Permalink
Update src/pynwb/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Mar 17, 2023
1 parent 7c7bbc3 commit 65aebc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pynwb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def nwb_version(self):
except KeyError:
return None, None
# Other system may have written nwb_version as a fixed-length string, resulting in a numpy.bytes_ object
# on read, rather than a variable length string. To address this, decode the bytes if necessary.
# on read, rather than a variable-length string. To address this, decode the bytes if necessary.
if not isinstance(nwb_version_string, str):
nwb_version_string = nwb_version_string.decode()

Expand Down

0 comments on commit 65aebc4

Please sign in to comment.