From cd1a20581fdbca79aee1b07b304b7c1c3a0223cd Mon Sep 17 00:00:00 2001 From: Anthony Romaniello Date: Tue, 16 Jan 2024 14:22:46 -0500 Subject: [PATCH] fix get_sigmf_builder call in test action no longer requires `sensor` parameter --- scos_actions/actions/acquire_stepped_freq_tdomain_iq.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scos_actions/actions/acquire_stepped_freq_tdomain_iq.py b/scos_actions/actions/acquire_stepped_freq_tdomain_iq.py index 114d22c2..495be7e2 100644 --- a/scos_actions/actions/acquire_stepped_freq_tdomain_iq.py +++ b/scos_actions/actions/acquire_stepped_freq_tdomain_iq.py @@ -38,8 +38,6 @@ import logging import numpy as np - -from scos_actions import utils from scos_actions.actions.acquire_single_freq_tdomain_iq import ( CAL_ADJUST, DURATION_MS, @@ -53,6 +51,8 @@ from scos_actions.signals import measurement_action_completed from scos_actions.utils import get_parameter +from scos_actions import utils + logger = logging.getLogger(__name__) @@ -93,7 +93,7 @@ def __call__(self, sensor: Sensor, schedule_entry: dict, task_id: int): for recording_id, measurement_params in enumerate( self.iterable_params, start=1 ): - self.get_sigmf_builder(sensor, schedule_entry) + self.get_sigmf_builder(schedule_entry) self.configure(measurement_params) duration_ms = get_parameter(DURATION_MS, measurement_params) nskip = get_parameter(NUM_SKIP, measurement_params)