Commit d8221d3f authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent 5d22de31
Pipeline #2313 failed with stage
in 0 seconds
...@@ -105,10 +105,10 @@ class Pipeline: ...@@ -105,10 +105,10 @@ class Pipeline:
# Reset warning filters # Reset warning filters
warnings.resetwarnings() warnings.resetwarnings()
def init_file(self, file_path): def file(self, file_path):
return File(file_path, new_dir=self.dir_output) 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) return os.path.join(self.dir_output, file_name)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment