From 252d7e65eb8bdfbb18873bc2cd2828b6924fc193 Mon Sep 17 00:00:00 2001 From: Eli Rykoff Date: Fri, 20 Oct 2023 14:58:37 -0700 Subject: [PATCH] Improve logging. --- python/lsst/the/monster/measure_offsetmaps.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/lsst/the/monster/measure_offsetmaps.py b/python/lsst/the/monster/measure_offsetmaps.py index a3c94b6..9debaf8 100644 --- a/python/lsst/the/monster/measure_offsetmaps.py +++ b/python/lsst/the/monster/measure_offsetmaps.py @@ -79,7 +79,7 @@ def measure_offset_map(self, bands=None, overwrite=False): if overwrite: print(f"Found existing {fname}; will overwrite.") else: - print(f"Found existing {fname}; overwrite=False so nothing to do.") + print(f"Found existing {fname}; overwrite=False so no need to remake map.") return fname print(f"Computing offset maps for {minuend_info.name} - {subtrahend_info.name}") @@ -201,6 +201,8 @@ def plot_offset_maps(self, hsp_file): minuend_info = self.MinuendInfoClass() subtrahend_info = self.SubtrahendInfoClass() + print(f"Computing offset maps for {minuend_info.name} - {subtrahend_info.name}") + offset_map_in = hsp.HealSparseMap.read(hsp_file) bands = []