@@ -43,14 +43,14 @@ def test_get_saved_channel_indices_from_spikeglx_meta():
4343
4444def test_NP1 ():
4545 probe = read_spikeglx (data_path / "Noise_g0_t0.imec0.ap.meta" )
46- assert "1.0" in probe .model_name
46+ assert "1.0" in probe .name
4747
4848
4949def test_NP_phase3A ():
5050 # Data provided by rtraghavan
5151 probe = read_spikeglx (data_path / "phase3a.imec.ap.meta" )
5252
53- assert probe .manufacturer == "IMEC "
53+ assert probe .manufacturer == "imec "
5454
5555 assert probe .ndim == 2
5656 assert probe .get_shank_count () == 1
@@ -66,14 +66,14 @@ def test_NP_phase3A():
6666
6767def test_NP2_1_shanks ():
6868 probe = read_spikeglx (data_path / "p2_g0_t0.imec0.ap.meta" )
69- assert "2.0" in probe .model_name
69+ assert "2.0" in probe .name
7070 assert probe .get_shank_count () == 1
7171
7272
7373def test_NP2_4_shanks ():
7474 probe = read_spikeglx (data_path / "NP2_4_shanks.imec0.ap.meta" )
7575
76- assert probe .manufacturer == "IMEC "
76+ assert probe .manufacturer == "imec "
7777
7878 assert probe .ndim == 2
7979 assert probe .get_shank_count () == 4
@@ -95,7 +95,7 @@ def test_NP2_2013_all():
9595 # Data provided by Jennifer Colonell
9696 probe = read_spikeglx (data_path / "NP2_2013_all_channels.imec0.ap.meta" )
9797
98- assert probe .manufacturer == "IMEC "
98+ assert probe .manufacturer == "imec "
9999
100100 assert probe .ndim == 2
101101 # all channels are from the first shank
@@ -118,7 +118,7 @@ def test_NP2_2013_subset():
118118 # Data provided by Jennifer Colonell
119119 probe = read_spikeglx (data_path / "NP2_2013_subset_channels.imec0.ap.meta" )
120120
121- assert probe .manufacturer == "IMEC "
121+ assert probe .manufacturer == "imec "
122122
123123 assert probe .ndim == 2
124124 # all channels are from the first shank
@@ -141,7 +141,7 @@ def test_NP2_4_shanks_with_different_electrodes_saved():
141141 # Data provided by Jennifer Colonell
142142 probe = read_spikeglx (data_path / "NP2_4_shanks_save_different_electrodes.imec0.ap.meta" )
143143
144- assert probe .manufacturer == "IMEC "
144+ assert probe .manufacturer == "imec "
145145
146146 assert probe .ndim == 2
147147 assert probe .get_shank_count () == 4
@@ -163,7 +163,7 @@ def test_NP2_4_shanks_with_different_electrodes_saved():
163163def test_NP1_large_depth_span ():
164164 # Data provided by Tom Bugnon NP1 with large Depth span
165165 probe = read_spikeglx (data_path / "allan-longcol_g0_t0.imec0.ap.meta" )
166- assert "1.0" in probe .model_name
166+ assert "1.0" in probe .name
167167 assert probe .get_shank_count () == 1
168168 ypos = probe .contact_positions [:, 1 ]
169169 assert (np .max (ypos ) - np .min (ypos )) > 7600
@@ -173,7 +173,7 @@ def test_NP1_other_example():
173173 # Data provided by Tom Bugnon NP1
174174 probe = read_spikeglx (data_path / "doppio-checkerboard_t0.imec0.ap.meta" )
175175 print (probe )
176- assert "1.0" in probe .model_name
176+ assert "1.0" in probe .name
177177 assert probe .get_shank_count () == 1
178178 ypos = probe .contact_positions [:, 1 ]
179179 assert (np .max (ypos ) - np .min (ypos )) > 7600
@@ -191,7 +191,7 @@ def test_NPH_long_staggered():
191191 # Data provided by Nate Dolensek
192192 probe = read_spikeglx (data_path / "non_human_primate_long_staggered.imec0.ap.meta" )
193193
194- assert probe .manufacturer == "IMEC "
194+ assert probe .manufacturer == "imec "
195195
196196 assert probe .ndim == 2
197197 assert probe .get_shank_count () == 1
@@ -245,7 +245,7 @@ def test_NPH_short_linear_probe_type_0():
245245 # Data provided by Jonathan A Michaels
246246 probe = read_spikeglx (data_path / "non_human_primate_short_linear_probe_type_0.meta" )
247247
248- assert probe .manufacturer == "IMEC "
248+ assert probe .manufacturer == "imec "
249249
250250 assert probe .ndim == 2
251251 assert probe .get_shank_count () == 1
@@ -293,7 +293,7 @@ def test_ultra_probe():
293293 # Data provided by Alessio
294294 probe = read_spikeglx (data_path / "npUltra.meta" )
295295
296- assert probe .manufacturer == "IMEC "
296+ assert probe .manufacturer == "imec "
297297
298298 # Test contact geometry
299299 contact_width = 5.0
@@ -317,7 +317,7 @@ def test_ultra_probe():
317317
318318def test_CatGT_NP1 ():
319319 probe = read_spikeglx (data_path / "catgt.meta" )
320- assert "1.0" in probe .model_name
320+ assert "1.0" in probe .name
321321
322322
323323def test_snsGeomMap ():
0 commit comments