Skip to content

Commit

Permalink
Merge pull request #1375 from flatironinstitute/dev-fix_path_goof
Browse files Browse the repository at this point in the history
mmapping: fix a path goof where a double-correction caused a problem
  • Loading branch information
pgunn authored Jul 18, 2024
2 parents 2a9d2c8 + 2d0108e commit bf7e8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caiman/mmapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def save_memmap(filenames:list[str],
sys.stdout.flush()
Ttot = Ttot + T

fname_new = os.path.join(caiman.paths.get_tempdir(), caiman.paths.fn_relocated(f'{fname_tot}_frames_{Ttot}.mmap'))
fname_new = caiman.paths.fn_relocated(f'{fname_tot}_frames_{Ttot}.mmap')
try:
# need to explicitly remove destination on windows
os.unlink(fname_new)
Expand Down

0 comments on commit bf7e8de

Please sign in to comment.