Skip to content

Commit cfa337e

Browse files
authored
Merge branch 'main' into hdmf-zarr-version
2 parents 22423bf + 8aeaf9b commit cfa337e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependencies = [
2323
"numpy>=1.20, <2.0", # 1.20 np.ptp, 1.26 might be necessary for avoiding pickling errors when numpy >2.0
2424
"threadpoolctl>=3.0.0",
2525
"tqdm",
26-
"zarr>=2.16,<2.18",
26+
"zarr>=2.18,<3",
2727
"neo>=0.13.0",
2828
"probeinterface>=0.2.23",
2929
"packaging",

src/spikeinterface/widgets/traces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def __init__(
145145
fs = rec0.get_sampling_frequency()
146146
if time_range is None:
147147
time_range = (t_start, t_start + 1.0)
148-
time_range = np.array(time_range)
148+
time_range = np.array(time_range, dtype=np.float64)
149149
if time_range[1] > t_end:
150150
warnings.warn(
151151
"You have selected a time after the end of the segment. The range will be clipped to " f"{t_end}"

0 commit comments

Comments
 (0)