Skip to content

Commit a27587c

Browse files
authored
Merge pull request #978 from kushalkolar/fix-caiman-temp-mcorr-offline
Fix caiman temp mcorr offline
2 parents eb4ba34 + 7c3f437 commit a27587c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

caiman/motion_correction.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3125,6 +3125,8 @@ def motion_correction_piecewise(fname, splits, strides, overlaps, add_to_movie=0
31253125
if save_movie:
31263126
if base_name is None:
31273127
base_name = os.path.split(fname)[1][:-4]
3128+
base_name = caiman.paths.fn_relocated(base_name)
3129+
31283130
fname_tot:Optional[str] = caiman.paths.memmap_frames_filename(base_name, dims, T, order)
31293131
if isinstance(fname, tuple):
31303132
fname_tot = os.path.join(os.path.split(fname[0])[0], fname_tot)

0 commit comments

Comments
 (0)