@@ -226,37 +226,37 @@ def curated(self, probe: str) -> upath.UPath:
226226 def quality_metrics_dict (self , probe : str ) -> dict :
227227 return self .read_json (
228228 self .get_correct_path (
229- self .postprocessed (probe ), "quality_metrics" , "params.json"
229+ self .postprocessed (probe = probe ), "quality_metrics" , "params.json"
230230 )
231231 )
232232
233233 @functools .cache
234234 def postprocessed_params_dict (self , probe : str ) -> dict :
235235 return self .read_json (
236- self .get_correct_path (self .postprocessed (probe ), "params.json" )
236+ self .get_correct_path (self .postprocessed (probe = probe ), "params.json" )
237237 )
238238
239239 @functools .cache
240240 def quality_metrics_df (self , probe : str ) -> pd .DataFrame :
241241 return self .read_csv (
242242 self .get_correct_path (
243- self .postprocessed (probe ), "quality_metrics" , "metrics.csv"
243+ self .postprocessed (probe = probe ), "quality_metrics" , "metrics.csv"
244244 )
245245 )
246246
247247 @functools .cache
248248 def template_metrics_dict (self , probe : str ) -> dict :
249249 return self .read_json (
250250 self .get_correct_path (
251- self .postprocessed (probe ), "template_metrics" , "params.json"
251+ self .postprocessed (probe = probe ), "template_metrics" , "params.json"
252252 )
253253 )
254254
255255 @functools .cache
256256 def template_metrics_df (self , probe : str ) -> pd .DataFrame :
257257 return self .read_csv (
258258 self .get_correct_path (
259- self .postprocessed (probe ), "template_metrics" , "metrics.csv"
259+ self .postprocessed (probe = probe ), "template_metrics" , "metrics.csv"
260260 )
261261 )
262262
@@ -265,7 +265,7 @@ def templates_average(self, probe: str) -> npt.NDArray[np.floating]:
265265 return np .load (
266266 io .BytesIO (
267267 self .get_correct_path (
268- self .postprocessed (probe ), "templates_average.npy"
268+ self .postprocessed (probe = probe ), "templates_average.npy"
269269 ).read_bytes ()
270270 )
271271 )
@@ -275,7 +275,7 @@ def templates_std(self, probe: str) -> npt.NDArray[np.floating]:
275275 return np .load (
276276 io .BytesIO (
277277 self .get_correct_path (
278- self .postprocessed (probe ), "templates_std.npy"
278+ self .postprocessed (probe = probe ), "templates_std.npy"
279279 ).read_bytes ()
280280 )
281281 )
@@ -302,7 +302,7 @@ def provenance(self, probe: str) -> dict:
302302 @functools .cache
303303 def sparsity (self , probe : str ) -> dict :
304304 return self .read_json (
305- self .get_correct_path (self .postprocessed (probe ), "sparsity.json" )
305+ self .get_correct_path (self .postprocessed (probe = probe ), "sparsity.json" )
306306 )
307307
308308 @functools .cache
@@ -453,7 +453,7 @@ def spike_amplitudes(self, probe: str) -> tuple[npt.NDArray[np.floating], ...]:
453453 spike_amplitudes = np .load (
454454 io .BytesIO (
455455 self .get_correct_path (
456- self .postprocessed (probe ),
456+ self .postprocessed (probe = probe ),
457457 "spike_amplitudes" ,
458458 "amplitude_segment_0.npy" ,
459459 ).read_bytes ()
@@ -470,22 +470,22 @@ def unit_locations(self, probe: str) -> npt.NDArray[np.floating]:
470470 return np .load (
471471 io .BytesIO (
472472 self .get_correct_path (
473- self .postprocessed (probe ), "unit_locations" , "unit_locations.npy"
473+ self .postprocessed (probe = probe ), "unit_locations" , "unit_locations.npy"
474474 ).read_bytes ()
475475 )
476476 )
477477
478478 @functools .cache
479479 def sorting_json (self , probe : str ) -> dict :
480480 return self .read_json (
481- self .get_correct_path (self .postprocessed (probe ), "sorting.json" )
481+ self .get_correct_path (self .postprocessed (probe = probe ), "sorting.json" )
482482 )
483483
484484 @functools .cache
485485 def recording_attributes_json (self , probe : str ) -> dict :
486486 return self .read_json (
487487 self .get_correct_path (
488- self .postprocessed (probe ), "recording_info" , "recording_attributes.json"
488+ self .postprocessed (probe = probe ), "recording_info" , "recording_attributes.json"
489489 )
490490 )
491491
0 commit comments