From ebb6ebd2745407f3017e89cf401b66655781ae3c Mon Sep 17 00:00:00 2001 From: CPD Date: Wed, 12 Mar 2025 16:44:09 +0100 Subject: [PATCH] Revert "Add led lamp metadata" This reverts commit df4648ce750e11b79f274e072ac92331f97abcc6. --- cpdctrl/measurement.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cpdctrl/measurement.py b/cpdctrl/measurement.py index df5f975..94703ba 100644 --- a/cpdctrl/measurement.py +++ b/cpdctrl/measurement.py @@ -79,10 +79,8 @@ def measure( if add_measurement_info_to_metadata: data.metadata["measurement_interval"] = str(delta_t) + " s" data.metadata["measurement_use_buffer"] = str(use_buffer) - data.metadata["measurement_voltage_measurement_device"] = str(vm_dev) - data.metadata["measurement_led_control_device"] = str(led_dev) - led_name = led_dev.get_led_name() - if led_name: data.metadata["measurement_led_lamp"] = led_name + data.metadata["measurement_voltage_device"] = str(vm_dev) + data.metadata["measurement_led_device"] = str(led_dev) data.metadata["measurement_time_start"] = get_time() # write metadata to disk data.write_metadata()