Skip to content

Commit 65e08ea

Browse files
committed
Also, updates GUI to reflect new counts after merging.
1 parent 1fb5639 commit 65e08ea

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

suite2p/gui/io.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,8 @@ def save_merge(parent):
501501
(parent.iscell[:, np.newaxis], parent.probcell[:, np.newaxis]), axis=1)
502502
np.save(os.path.join(parent.basename, "iscell.npy"), iscell)
503503

504+
parent.lcell0.setText("%d" % (parent.iscell.sum()))
505+
parent.lcell1.setText("%d" % (parent.iscell.size - parent.iscell.sum()))
504506
parent.notmerged = np.ones(parent.iscell.size, "bool")
505507

506508

0 commit comments

Comments
 (0)