Skip to content

Commit 4b33557

Browse files
committed
Change save_memmap_each add_to_movie argument values to float literals
1 parent 4716bf8 commit 4b33557

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

caiman/mmapping.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def save_memmap_each(fnames: list[str],
177177
return fnames_new
178178

179179
def save_memmap_join(mmap_fnames:list[str], base_name: str = None, n_chunks: int = 20, dview=None,
180-
add_to_mov: float = 0) -> str:
180+
add_to_mov: float = 0.0) -> str:
181181
"""
182182
Makes a large file memmap from a number of smaller files
183183
@@ -190,7 +190,7 @@ def save_memmap_join(mmap_fnames:list[str], base_name: str = None, n_chunks: int
190190
191191
dview: cluster handle
192192
193-
add_to_mov: (undocumented)
193+
add_to_mov: constant to add to the entire movie
194194
195195
"""
196196
logger = logging.getLogger("caiman")
@@ -449,7 +449,7 @@ def save_memmap(filenames:list[str],
449449
xy_shifts=xy_shifts,
450450
is_3D=is_3D,
451451
slices=slices,
452-
add_to_movie=0) # applied below in save_memmap_join
452+
add_to_movie=0.0) # applied below in save_memmap_join
453453
else:
454454
fname_parts = filenames
455455

0 commit comments

Comments
 (0)