@@ -126,7 +126,7 @@ def test_compare_input_argument_ranges_against_ibl(shanks, p, sigma_um, num_chan
126126 # distribute default probe locations across 4 shanks if set
127127 rng = np .random .default_rng (seed = None )
128128 x = rng .choice (shanks , num_channels )
129- probe = recording .get_probegroup () .probes [0 ]
129+ probe = recording ._probegroup .probes [0 ]
130130 probe ._contact_positions [:, 0 ] = x
131131 recording ._probegroup ._build_contact_vector ()
132132 recording .set_property ("location" , recording .get_channel_locations ())
@@ -172,7 +172,7 @@ def test_output_values():
172172 [5 , 5 , 5 , 7 , 3 ],
173173 ] # all others equal distance away.
174174 # Overwrite the probe information with the new locations
175- probe = recording .get_probegroup () .probes [0 ]
175+ probe = recording ._probegroup .probes [0 ]
176176 for idx , (x , y ) in enumerate (zip (* new_probe_locs )):
177177 probe ._contact_positions [idx , 0 ] = x
178178 probe ._contact_positions [idx , 1 ] = y
@@ -191,7 +191,7 @@ def test_output_values():
191191 # Shift the last channel position so that it is 4 units, rather than 2
192192 # away. Setting sigma_um = p = 1 allows easy calculation of the expected
193193 # weights.
194- probe = recording .get_probegroup () .probes [0 ]
194+ probe = recording ._probegroup .probes [0 ]
195195 probe ._contact_positions [- 1 , 0 ] = 5
196196 probe ._contact_positions [- 1 , 1 ] = 9
197197 recording ._probegroup ._build_contact_vector ()
0 commit comments