From d8221d3f76f5af168d11c672134f1f2fd10ef4e3 Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Thu, 14 Dec 2023 12:07:55 +0800 Subject: [PATCH] tweaks --- csst_common/pipeline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csst_common/pipeline.py b/csst_common/pipeline.py index 9eb9dcc..a8fc8c6 100644 --- a/csst_common/pipeline.py +++ b/csst_common/pipeline.py @@ -105,10 +105,10 @@ class Pipeline: # Reset warning filters warnings.resetwarnings() - def init_file(self, file_path): + def file(self, file_path): return File(file_path, new_dir=self.dir_output) - def new_file(self, file_name="test.fits"): + def new(self, file_name="test.fits"): return os.path.join(self.dir_output, file_name) -- GitLab