From 0d026f4e656a4fc108632286414eea28598429f0 Mon Sep 17 00:00:00 2001 From: Eli Rykoff Date: Mon, 16 Dec 2024 11:05:25 -0800 Subject: [PATCH] Fix formatting. --- python/lsst/the/monster/measure_colorterms.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python/lsst/the/monster/measure_colorterms.py b/python/lsst/the/monster/measure_colorterms.py index 8b7f0b3..06748ed 100644 --- a/python/lsst/the/monster/measure_colorterms.py +++ b/python/lsst/the/monster/measure_colorterms.py @@ -369,9 +369,9 @@ def measure_spline_fit( mag_target_corr1 = float((flux_target_corr1*units.nJy).to_value(units.ABmag)) c26202_message += f"{band} " - c26202_message += f"{c26202_absmags[band_index].value:0.5} " - c26202_message += f"{mag_target_corr0:0.5} " - c26202_message += f"{mag_target_corr1:0.5}\n" + c26202_message += f"{c26202_absmags[band_index].value:0.5f} " + c26202_message += f"{mag_target_corr0:0.5f} " + c26202_message += f"{mag_target_corr1:0.5f}\n" yaml_file = f"{cat_info.name}_to_{target_info.name}_band_{band}.yaml" colorterm.save(yaml_file, overwrite=overwrite) @@ -690,9 +690,9 @@ def apply_comcam_c26202_calibration(self, stars): print("Band CalSpec Original Corrected") for i, band in enumerate(bands): print(f"{band} " - f"{c26202_mags[i].value:0.5} " - f"{orig_data_mags[i]:0.5} " - f"{final_data_mags[i]:0.5}") + f"{c26202_mags[i].value:0.5f} " + f"{orig_data_mags[i]:0.5f} " + f"{final_data_mags[i]:0.5f}") @property def do_fit_flux_offset(self):