Remove redundant prints

This commit is contained in:
2025-11-19 16:01:15 +01:00
parent 8d9f5bf852
commit 2a5c4aec17

View File

@@ -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