From 3dbfbf8448e0647315d23b3f384aa5a794f5091b Mon Sep 17 00:00:00 2001 From: Jonathan Eisenhamer Date: Mon, 5 Feb 2024 09:03:50 -0500 Subject: [PATCH] add timing for each candidate --- jwst/associations/generator/generate_per_candidate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jwst/associations/generator/generate_per_candidate.py b/jwst/associations/generator/generate_per_candidate.py index 3a1d435b09..c7962da44e 100644 --- a/jwst/associations/generator/generate_per_candidate.py +++ b/jwst/associations/generator/generate_per_candidate.py @@ -86,7 +86,7 @@ def generate_per_candidate(pool, rule_defs, candidate_ids=None, all_candidates=T # Add to the list associations.extend(associations_cid) - logger.info('Time to process candidate %s: %s', cid_ctype[0], timer() - time_start) + logger.info('Time to process candidate %s: %.2f', cid_ctype[0], timer() - time_start) # The ruleset has been generated on a per-candidate case. # Here, need to do a final rebuild of the ruleset to get the finalization