Skip to content

Commit

Permalink
Clarify comment in exception
Browse files Browse the repository at this point in the history
  • Loading branch information
fdeguire03 authored Dec 13, 2024
1 parent 15ba8a6 commit 5ce0ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caiman/base/movies.py
Original file line number Diff line number Diff line change
Expand Up @@ -2033,7 +2033,7 @@ def get_file_size(file_name, var_name_hdf5:str='mov') -> tuple[tuple, Union[int,
elif version == (2, 0):
shape, _, _ = np.lib.format.read_array_header_2_0(f)
else:
raise ValueError(f"Unsupported .npy file version: {version}. Update this code to handle it.")
raise ValueError(f"Unsupported .npy file version: {version}. Update caiman.base.movies.get_file_size() to handle it.")
T = shape[0]
dims = shape[1:]
elif extension in ('.sbx'):
Expand Down

0 comments on commit 5ce0ce5

Please sign in to comment.