Skip to content

Commit 1c832e4

Browse files
authored
Update src/probeinterface/neuropixels_tools.py
1 parent 0c3bb6e commit 1c832e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/probeinterface/neuropixels_tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ def _make_npx_probe_from_description(probe_description, model_name, elec_ids, sh
322322

323323
# set other key metadata annotations
324324
probe.annotate(
325-
adc_bit_depth=probe_description["adc_bit_depth"],
326-
num_readout_channels=probe_description["num_readout_channels"],
325+
adc_bit_depth=int(probe_description["adc_bit_depth"]),
326+
num_readout_channels=int(probe_description["num_readout_channels"]),
327327
ap_sample_frequency_hz=float(probe_description["ap_sample_frequency_hz"]),
328328
lf_sample_frequency_hz=float(probe_description["lf_sample_frequency_hz"]),
329329
)

0 commit comments

Comments
 (0)