Skip to content

Commit fe906cc

Browse files
committed
Fixes #1210.
1 parent 808701d commit fe906cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

suite2p/registration/register.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,8 +829,8 @@ def assign_reg_io(f_reg, f_raw=None, f_reg_chan2=None,
829829
if f_align_in.shape[0] != f_alt_in.shape[0]:
830830
raise ValueError("number of frames in f_align_in and f_alt_in must match")
831831

832+
tif_root_align, tif_root_alt = None, None
832833
if save_path:
833-
tif_root_align, tif_root_alt = None, None
834834
if reg_tif:
835835
tifroot = os.path.join(save_path, "reg_tif")
836836
os.makedirs(tifroot, exist_ok=True)

0 commit comments

Comments
 (0)