From 5ce0ce5b74f6c0d5ccb8ef80c5c0b3be1001520d Mon Sep 17 00:00:00 2001 From: fdeguire03 <150461249+fdeguire03@users.noreply.github.com> Date: Fri, 13 Dec 2024 09:02:23 -0800 Subject: [PATCH] Clarify comment in exception --- caiman/base/movies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caiman/base/movies.py b/caiman/base/movies.py index e2f99bc48..f0a9a5796 100644 --- a/caiman/base/movies.py +++ b/caiman/base/movies.py @@ -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'):