Skip to content

Commit

Permalink
fix get_sigmf_builder call in test action
Browse files Browse the repository at this point in the history
no longer requires `sensor` parameter
  • Loading branch information
aromanielloNTIA committed Jan 16, 2024
1 parent a562915 commit cd1a205
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scos_actions/actions/acquire_stepped_freq_tdomain_iq.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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__)


Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit cd1a205

Please sign in to comment.