From 975693de0f52c522c05332135d73ba31ab2d900e Mon Sep 17 00:00:00 2001 From: luiz Date: Fri, 12 Jan 2024 15:29:45 +0100 Subject: [PATCH] fix --- src/spikeinterface_pipelines/preprocessing/params.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spikeinterface_pipelines/preprocessing/params.py b/src/spikeinterface_pipelines/preprocessing/params.py index 34ef33e..3458f68 100644 --- a/src/spikeinterface_pipelines/preprocessing/params.py +++ b/src/spikeinterface_pipelines/preprocessing/params.py @@ -1,5 +1,5 @@ from pydantic import BaseModel, Field -from typing import Optional, Union, List +from typing import Optional, Union, List, Literal from enum import Enum @@ -44,7 +44,7 @@ class HighpassSpatialFilter(BaseModel): # Motion correction --------------------------------------------------------------- class MCDetectKwargs(BaseModel): method: str = Field(default="locally_exclusive", description="The method for peak detection.") - peak_sign: Literal["pos", "neg", "both] = Field(default="neg", description="The peak sign to detect peaks.") + peak_sign: Literal["pos", "neg", "both"] = Field(default="neg", description="The peak sign to detect peaks.") detect_threshold: float = Field(default=8.0, description="The detection threshold in MAD units.") exclude_sweep_ms: float = Field(default=0.1, description="The time sweep to exclude for time de-duplication.") radius_um: float = Field(default=50.0, description="The radius in um for channel de-duplication.")