From 71dcd8501952712d8917ed366c0c4a377f696725 Mon Sep 17 00:00:00 2001 From: Anthony Romaniello Date: Wed, 6 Mar 2024 11:55:52 -0500 Subject: [PATCH] fix generator return type hint --- scos_actions/actions/acquire_sea_data_product.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scos_actions/actions/acquire_sea_data_product.py b/scos_actions/actions/acquire_sea_data_product.py index fcadb459..b50ab53b 100644 --- a/scos_actions/actions/acquire_sea_data_product.py +++ b/scos_actions/actions/acquire_sea_data_product.py @@ -34,6 +34,9 @@ from environs import Env from its_preselector import __version__ as PRESELECTOR_API_VERSION from scipy.signal import sos2tf, sosfilt + +from scos_actions import __version__ as SCOS_ACTIONS_VERSION +from scos_actions import utils from scos_actions.actions.interfaces.action import Action from scos_actions.hardware.sensor import Sensor from scos_actions.hardware.utils import ( @@ -73,9 +76,6 @@ from scos_actions.signals import measurement_action_completed, trigger_api_restart from scos_actions.utils import convert_datetime_to_millisecond_iso_format, get_days_up -from scos_actions import __version__ as SCOS_ACTIONS_VERSION -from scos_actions import utils - env = Env() logger = logging.getLogger(__name__) @@ -425,7 +425,7 @@ def __init__(self, params: dict, iir_sos: np.ndarray): ] del params - def run(self, iqdata: np.ndarray) -> list: + def run(self, iqdata: np.ndarray): """ Filter the input IQ data and concurrently compute FFT, PVT, PFP, and APD results.