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