Skip to content

Commit 1049e04

Browse files
committed
Fixes issue #904 for 2 channel manual labeling
1 parent f26cf20 commit 1049e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

suite2p/extraction/extract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def extract_traces_from_masks(ops, cell_masks, neuropil_masks):
132132
if 'reg_file_chan2' in ops:
133133
with BinaryRWFile(Ly=ops['Ly'], Lx=ops['Lx'],
134134
filename=ops['reg_file_chan2']) as f:
135-
F_chan2, Fneu_chan2 = extract_traces(cell_masks, neuropil_masks, batch_size=batch_size)
135+
F_chan2, Fneu_chan2 = extract_traces(f, cell_masks, neuropil_masks, batch_size=batch_size)
136136
return F, Fneu, F_chan2, Fneu_chan2
137137

138138
def extraction_wrapper(stat, f_reg, f_reg_chan2=None, cell_masks=None, neuropil_masks=None, ops=default_ops()):

0 commit comments

Comments
 (0)