From fc7880843c9af3354cb4044b799c76d7c82675b0 Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Wed, 20 Dec 2023 13:06:46 +0800 Subject: [PATCH] fix t_cost --- csst_common/pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csst_common/pipeline.py b/csst_common/pipeline.py index b2efb8a..e93f4e0 100644 --- a/csst_common/pipeline.py +++ b/csst_common/pipeline.py @@ -196,7 +196,7 @@ class Pipeline: output = {"exc_info": exc_info} # default output if exceptions occur finally: t_stop: Time = Time.now() - t_cost: float = (t_stop - t_start).value + t_cost: float = (t_stop - t_start).value * 86400 if isinstance(status, CsstStatus): # status is self.pipeline_logger.info( -- GitLab