From ec435d1b50dd9ed8489e2a95295d686e95a6d86f Mon Sep 17 00:00:00 2001 From: TheSkyentist Date: Fri, 1 Mar 2024 18:01:24 +0100 Subject: [PATCH] Fixed bug --- grizli/pipeline/auto_script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grizli/pipeline/auto_script.py b/grizli/pipeline/auto_script.py index dcf2e0bb..106ecdc6 100644 --- a/grizli/pipeline/auto_script.py +++ b/grizli/pipeline/auto_script.py @@ -3236,7 +3236,7 @@ def load_GroupFLT(field_root='j142724+334246', PREP_PATH='../Prep', force_ref=No # Log that no file is found if len(seg_files) == 0: msg = f"auto_script.grism_prep: no segmentation image found for {key}" - msgs += "\nThis can be set manually with `force_seg`" + msg += "\nThis can be set manually with `force_seg`" utils.log_comment(utils.LOGFILE, msg, verbose=True) seg_file = seg_files[0] @@ -3258,7 +3258,7 @@ def load_GroupFLT(field_root='j142724+334246', PREP_PATH='../Prep', force_ref=No # Log that no file is found if len(ref_files) == 0: msg = f"auto_script.grism_prep: no reference image found for {key}" - msgs += "\nThis can be set manually with `force_ref`" + msg += "\nThis can be set manually with `force_ref`" utils.log_comment(utils.LOGFILE, msg, verbose=True) ref_file = ref_files[0]