diff --git a/src/spikeinterface_pipelines/postprocessing/params.py b/src/spikeinterface_pipelines/postprocessing/params.py index ecb56ff..cafba32 100644 --- a/src/spikeinterface_pipelines/postprocessing/params.py +++ b/src/spikeinterface_pipelines/postprocessing/params.py @@ -97,7 +97,7 @@ class QMParams(BaseModel): # TODO - fill in metric_names defauklt value with all the metric names class QualityMetrics(BaseModel): qm_params: QMParams = Field(default=QMParams(), description="Quality metric parameters.") - metric_names: List[str] = Field(default=[], description="List of metric names to compute.") + metric_names: Optional[List[str]] = Field(default=None, description="List of metric names to compute. If None, all available metrics are computed.") n_jobs: int = Field(default=1, description="Number of jobs.")