From 2a5c4aec172ffbf29dbdc85f912b665379c0cd5f Mon Sep 17 00:00:00 2001 From: Barbara Bertozzi Date: Wed, 19 Nov 2025 16:01:15 +0100 Subject: [PATCH] Remove redundant prints --- scripts/sp2xr_generate_config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/sp2xr_generate_config.py b/scripts/sp2xr_generate_config.py index 8782a13..fd50354 100644 --- a/scripts/sp2xr_generate_config.py +++ b/scripts/sp2xr_generate_config.py @@ -193,13 +193,13 @@ def generate_basic_config( from sp2xr.helpers import export_xr_ini_to_yaml_with_source export_xr_ini_to_yaml_with_source(ini_file, str(instrument_path)) - print(f"Instrument settings config saved to: {instrument_path}") + # print(f"Instrument settings config saved to: {instrument_path}") except ImportError: # Fallback to original function if new one doesn't exist yet from sp2xr.helpers import export_xr_ini_to_yaml export_xr_ini_to_yaml(ini_file, str(instrument_path)) - print(f"Instrument settings config saved to: {instrument_path}") + # print(f"Instrument settings config saved to: {instrument_path}") except Exception as e: print(f"Warning: Could not convert INI to YAML: {e}") # Still reference the original INI file as fallback @@ -299,13 +299,13 @@ def generate_mapping_config( from sp2xr.helpers import export_xr_ini_to_yaml_with_source export_xr_ini_to_yaml_with_source(ini_file, str(instrument_path)) - print(f"Instrument settings config saved to: {instrument_path}") + # print(f"Instrument settings config saved to: {instrument_path}") except ImportError: # Fallback to original function if new one doesn't exist yet from sp2xr.helpers import export_xr_ini_to_yaml export_xr_ini_to_yaml(ini_file, str(instrument_path)) - print(f"Instrument settings config saved to: {instrument_path}") + # print(f"Instrument settings config saved to: {instrument_path}") except Exception as e: print(f"Warning: Could not convert INI to YAML: {e}") # Still reference the original INI file as fallback