Skip to content

Commit c2e43e2

Browse files
committed
2 parents 54d5921 + b6c0a4b commit c2e43e2

5 files changed

Lines changed: 27 additions & 4 deletions

File tree

docs/source/release_notes.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@
33
Release Notes
44
=============
55

6+
.. _release0.13.1:
7+
8+
0.13.1
9+
------
10+
11+
*Release date: April 1st, 2026*
12+
13+
Bug fixes
14+
~~~~~~~~~
15+
16+
* Fix quality curation when other labels are given by user (PR #260)
17+
* Update channel visibility when unit is changed in unitview (#259)
18+
19+
Performance
20+
~~~~~~~~~~~
21+
22+
* Only init views in layout in desktop mode (PR #257)
23+
24+
625
.. _release0.13.0:
726

827
0.13.0

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "spikeinterface-gui"
3-
version = '0.13.0'
3+
version = '0.13.1'
44
authors = [
55
{ name="Samuel Garcia", email="sam.garcia.die@gmail.com" },
66
{ name="Alessio Buccino", email="alessiop.buccino@gmail.com" },

spikeinterface_gui/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def set_visible_unit_ids(self, visible_unit_ids):
600600

601601
def get_visible_unit_ids(self):
602602
"""Get list of visible unit_ids"""
603-
return self._visible_unit_ids
603+
return list(self._visible_unit_ids)
604604

605605
def get_visible_unit_indices(self):
606606
"""Get list of indices of visible units"""

spikeinterface_gui/tracemapview.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ def _qt_seek(self, t):
131131
sr = self.controller.sampling_frequency
132132

133133
self.scroll_time.valueChanged.disconnect(self._qt_on_scroll_time)
134-
value = self.controller.time_to_sample_index(t)
134+
sample = self.controller.time_to_sample_index(t)
135+
value = int(sample / self.scroll_step)
135136
self.scroll_time.setValue(value)
136137
self.scroll_time.setPageStep(int(sr*xsize))
137138
self.scroll_time.valueChanged.connect(self._qt_on_scroll_time)

spikeinterface_gui/traceview.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
# * segment change
1414
# *
1515

16+
INT32_MAX = 2147483647 # 2**31 - 1
17+
18+
1619
class MixinViewTrace:
1720

1821
MAX_RETRIEVE_TIME_FOR_BUSY_CURSOR = 0.5 # seconds
@@ -214,7 +217,7 @@ def _qt_initialize_plot(self):
214217
def _qt_update_scroll_step(self):
215218
segment_index = self.controller.get_time()[1]
216219
length = self.controller.get_num_samples(segment_index)
217-
num_scrollbar_steps = max(2**16, length)
220+
num_scrollbar_steps = min(INT32_MAX, length)
218221
self.scroll_step = length / num_scrollbar_steps
219222

220223
t_start, t_stop = self.controller.get_t_start_t_stop()

0 commit comments

Comments
 (0)