From a8107f4561e1b27b4783b371905275c68b29d0b5 Mon Sep 17 00:00:00 2001 From: Doug Boulware Date: Mon, 15 Jan 2024 12:14:34 -0700 Subject: [PATCH] Used passed in sensor in create_global_sensor_metadata --- scos_actions/actions/acquire_sea_data_product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scos_actions/actions/acquire_sea_data_product.py b/scos_actions/actions/acquire_sea_data_product.py index fec488ed..8108f51e 100644 --- a/scos_actions/actions/acquire_sea_data_product.py +++ b/scos_actions/actions/acquire_sea_data_product.py @@ -960,7 +960,7 @@ def create_global_sensor_metadata(self, sensor: Sensor): self.sigmf_builder.set_sensor( ntia_sensor.Sensor( sensor_spec=ntia_core.HardwareSpec( - id=self.sensor.capabilities["sensor"]["sensor_spec"]["id"], + id=sensor.capabilities["sensor"]["sensor_spec"]["id"], ), sensor_sha512=sensor.capabilities["sensor"]["sensor_sha512"], )