diff --git a/csst_common/pipeline.py b/csst_common/pipeline.py index 9eb9dccb9c9e4e168f954369a1e981f06692293c..a8fc8c6c6b7fdb2b6acf37d1d0607289d2a4ae48 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)