Skip to content

Commit 452ff31

Browse files
Thinh Nguyendimitri-yatsenko
andauthored
address PR comments
Co-authored-by: Dimitri Yatsenko <dimitri@datajoint.com>
1 parent 4407678 commit 452ff31

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

element_array_ephys/probe.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,10 @@ def create_neuropixels_probe(probe_type: str = "neuropixels 1.0 - 3A"):
107107
npx_probes_config["neuropixels 2.0 - MS"] = npx_probes_config["NP2010"]
108108

109109
probe_type = {"probe_type": probe_type}
110-
probe_params = {
111-
n: v
112-
for n, v in zip(
110+
probe_params = dict(zip(
113111
probe_geometry.geom_param_names,
114-
npx_probes_config[probe_type["probe_type"]],
115-
)
116-
}
112+
npx_probes_config[probe_type["probe_type"]]
113+
))
117114
electrode_layouts = probe_geometry.build_npx_probe(
118115
**{**probe_params, **probe_type}
119116
)

0 commit comments

Comments
 (0)