Skip to content

Commit

Permalink
Update src/pynwb/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Steph Prince <[email protected]>
  • Loading branch information
h-mayorquin and stephprince authored Jan 16, 2025
1 parent 886fddd commit efefc0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pynwb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,8 @@ def read_nwb(**kwargs):
return NWBZarrIO.read_nwb(path=path)
else:
raise ValueError(
f"Unable to read file: '{path}'. The file exists but is not recognized as "
"either a valid HDF5 or Zarr NWB file. Please ensure the file contains valid NWB data."
f"Unable to read file: '{path}'. The file is not recognized as "
"either a valid HDF5 or Zarr NWB file. Please ensure the file exists and contains valid NWB data."
)
except ImportError:
raise ValueError(
Expand Down

0 comments on commit efefc0b

Please sign in to comment.