Skip to content

Commit

Permalink
Merge pull request #978 from kushalkolar/fix-caiman-temp-mcorr-offline
Browse files Browse the repository at this point in the history
Fix caiman temp mcorr offline
  • Loading branch information
pgunn authored May 24, 2022
2 parents eb4ba34 + 7c3f437 commit a27587c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions caiman/motion_correction.py
Original file line number Diff line number Diff line change
Expand Up @@ -3125,6 +3125,8 @@ def motion_correction_piecewise(fname, splits, strides, overlaps, add_to_movie=0
if save_movie:
if base_name is None:
base_name = os.path.split(fname)[1][:-4]
base_name = caiman.paths.fn_relocated(base_name)

fname_tot:Optional[str] = caiman.paths.memmap_frames_filename(base_name, dims, T, order)
if isinstance(fname, tuple):
fname_tot = os.path.join(os.path.split(fname[0])[0], fname_tot)
Expand Down

0 comments on commit a27587c

Please sign in to comment.