From f42f1fcff03f0c312d8e09ea50828bf2a77b33b5 Mon Sep 17 00:00:00 2001 From: Thinh Nguyen Date: Fri, 15 Sep 2023 13:47:34 -0500 Subject: [PATCH] address PR comments Co-authored-by: Dimitri Yatsenko --- element_array_ephys/readers/spikeglx.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/element_array_ephys/readers/spikeglx.py b/element_array_ephys/readers/spikeglx.py index 4137aa4f..819b7b1a 100644 --- a/element_array_ephys/readers/spikeglx.py +++ b/element_array_ephys/readers/spikeglx.py @@ -450,12 +450,12 @@ def _transform_geom_to_shank(self): from . import probe_geometry - probe_params = { - n: v - for n, v in zip( - probe_geometry.geom_param_names, probe_geometry.M[self.probe_PN] + probe_params = dict( + zip( + probe_geometry.geom_param_names, + probe_geometry.M[self.probe_PN] ) - } + ) probe_params["probe_type"] = self.probe_PN elec_pos_df = probe_geometry.build_npx_probe(**probe_params)