From 1896d440af3ba9128dfd4573da7320a742f1b616 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Fri, 27 Mar 2026 16:55:45 +0100 Subject: [PATCH] incorrect unit typo --- slsDetectorSoftware/generator/autocomplete/autocomplete.py | 2 +- slsDetectorSoftware/generator/commands.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/slsDetectorSoftware/generator/autocomplete/autocomplete.py b/slsDetectorSoftware/generator/autocomplete/autocomplete.py index c4b11838c..c34ac019f 100644 --- a/slsDetectorSoftware/generator/autocomplete/autocomplete.py +++ b/slsDetectorSoftware/generator/autocomplete/autocomplete.py @@ -16,7 +16,7 @@ type_values = { 'special::mv': ["mv", "mV"], "special::deg": ["deg"], "special::time_unit": ["s", "ms", "us", "ns"], - "special::freq_unit": ["Hz", "KHz", "MHz"], + "special::freq_unit": ["Hz", "kHz", "MHz"], "special::hard": ["hard"], "special::force-delete-normal-file": ["--force-delete-normal-file"], "special::currentSourceFix": ["fix", "nofix"], diff --git a/slsDetectorSoftware/generator/commands.yaml b/slsDetectorSoftware/generator/commands.yaml index 5c0365554..760345916 100644 --- a/slsDetectorSoftware/generator/commands.yaml +++ b/slsDetectorSoftware/generator/commands.yaml @@ -466,7 +466,7 @@ CTB_GET_INDEX: ################# COMMANDS ################################## ################# FREQ_COMMAND ############# adcclk: - help: "[n_clk] [(optional unit) Hz(default)|KHz|MHz]\n\t[Ctb][Xilinx Ctb] ADC clock frequency." + help: "[n_clk] [(optional unit) Hz(default)|kHz|MHz]\n\t[Ctb][Xilinx Ctb] ADC clock frequency." inherit_actions: FREQ_COMMAND actions: GET: @@ -475,7 +475,7 @@ adcclk: function: setADCClock runclk: - help: "[n_clk] [(optional unit) Hz(default)|KHz|MHz]\n\t[Ctb][Xilinx Ctb] Run clock frequency." + help: "[n_clk] [(optional unit) Hz(default)|kHz|MHz]\n\t[Ctb][Xilinx Ctb] Run clock frequency." inherit_actions: FREQ_COMMAND actions: GET: @@ -485,7 +485,7 @@ runclk: dbitclk: - help: "[n_clk] [(optional unit) Hz(default)|KHz|MHz]\n\t[Ctb][Xilinx Ctb] Clock for latching the digital bits." + help: "[n_clk] [(optional unit) Hz(default)|kHz|MHz]\n\t[Ctb][Xilinx Ctb] Clock for latching the digital bits." inherit_actions: FREQ_COMMAND actions: GET: