From 9806202a0643ba82b881208e0f0e40eabf1ba88f Mon Sep 17 00:00:00 2001 From: Karl5766 Date: Fri, 13 Dec 2024 13:52:20 -0500 Subject: [PATCH] fix load --- src/cvpl_tools/examples/mousebrain_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cvpl_tools/examples/mousebrain_processing.py b/src/cvpl_tools/examples/mousebrain_processing.py index 2369be9..a2c6ef2 100644 --- a/src/cvpl_tools/examples/mousebrain_processing.py +++ b/src/cvpl_tools/examples/mousebrain_processing.py @@ -187,7 +187,7 @@ async def fn(dask_worker): cdir_fs = RDirFileSystem(subject.COILED_CACHE_DIR_PATH) with cdir_fs.open('final_lc.npy', mode='rb') as fd: - lc = np.load(cdir_fs) + lc = np.load(fd) print(f'First 10 rows of lc:\n') print(lc[:10])