File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 3
3
Observes [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) standard and
4
4
[ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) convention.
5
5
6
+ ## [ 0.4.2] - 2025-03-25
7
+
8
+ + Fix - Add key_source to ` ProbeLevelReport ` to filter for 'good' quality units
9
+
6
10
## [ 0.4.1] - 2025-02-13
7
11
8
12
+ Fix - Auto generate ProbeInsertion allows duplicate probes (e.g. probe reuse)
Original file line number Diff line number Diff line change @@ -50,6 +50,12 @@ class ProbeLevelReport(dj.Computed):
50
50
---
51
51
drift_map_plot: attach
52
52
"""
53
+
54
+ @property
55
+ def key_source (self ):
56
+ return ephys .CuratedClustering & (
57
+ ephys .CuratedClustering .Unit & "cluster_quality_label='good'"
58
+ )
53
59
54
60
def make (self , key ):
55
61
from .plotting .probe_level import plot_driftmap
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ def make(self, key):
319
319
320
320
postprocessing_params = params ["SI_POSTPROCESSING_PARAMS" ]
321
321
322
- job_kwargs = postprocessing_params .get (
322
+ job_kwargs = postprocessing_params .pop (
323
323
"job_kwargs" , {"n_jobs" : - 1 , "chunk_duration" : "1s" }
324
324
)
325
325
@@ -429,7 +429,7 @@ def make(self, key):
429
429
430
430
postprocessing_params = params ["SI_POSTPROCESSING_PARAMS" ]
431
431
432
- job_kwargs = postprocessing_params .get (
432
+ job_kwargs = postprocessing_params .pop (
433
433
"job_kwargs" , {"n_jobs" : - 1 , "chunk_duration" : "1s" }
434
434
)
435
435
@@ -446,6 +446,8 @@ def _export_to_phy():
446
446
sorting_analyzer = sorting_analyzer ,
447
447
output_folder = analyzer_output_dir / "phy" ,
448
448
use_relative_path = True ,
449
+ remove_if_exists = True ,
450
+ copy_binary = True ,
449
451
** job_kwargs ,
450
452
)
451
453
@@ -458,6 +460,7 @@ def _export_report():
458
460
si .exporters .export_report (
459
461
sorting_analyzer = sorting_analyzer ,
460
462
output_folder = analyzer_output_dir / "spikeinterface_report" ,
463
+ remove_if_exists = True ,
461
464
** job_kwargs ,
462
465
)
463
466
Original file line number Diff line number Diff line change 1
1
"""Package metadata."""
2
2
3
- __version__ = "0.4.1 "
3
+ __version__ = "0.4.2 "
You can’t perform that action at this time.
0 commit comments