Skip to content

Commit

Permalink
Merge pull request MouseLand#1086 from itsb/main
Browse files Browse the repository at this point in the history
support roi extraction of 2-channel data in GUI
  • Loading branch information
chriski777 authored Apr 19, 2024
2 parents be8830d + 1a1bd5b commit c88e1ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions suite2p/gui/drawroi.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,8 @@ def proc_ROI(self):
self.p0.addItem(self.scatter[-1])
if not os.path.isfile(self.parent.ops["reg_file"]):
self.parent.ops["reg_file"] = os.path.join(self.parent.basename, "data.bin")
if 'reg_file_chan2' in self.parent.ops and not os.path.isfile(self.parent.ops["reg_file_chan2"]):
self.parent.ops["reg_file_chan2"] = os.path.join(self.parent.basename, "data_chan2.bin")

F, Fneu, F_chan2, Fneu_chan2, spks, ops, stat = masks_and_traces(
self.parent.ops, stat0, self.parent.stat)
Expand Down

0 comments on commit c88e1ba

Please sign in to comment.