From 3feb95e1ba4b9d262601c13b6930cbceb1f1696f Mon Sep 17 00:00:00 2001 From: prakruth <8682372+pecom@users.noreply.github.com> Date: Fri, 6 Oct 2023 14:33:06 -0400 Subject: [PATCH] proper function name --- btk/blend_batch.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/btk/blend_batch.py b/btk/blend_batch.py index 1f798e24..b7c98654 100644 --- a/btk/blend_batch.py +++ b/btk/blend_batch.py @@ -275,15 +275,15 @@ def __repr__(self): return string def save(self, path: str, batch_number: int = 0): - """Save blend results into path.""" + """Save blend results into path using hdf5 format.""" for survey_name, blend_batch in self.results.items(): survey_directory = os.path.join(path, str(batch_number), survey_name) if not os.path.exists(survey_directory): os.makedirs(survey_directory) blend_batch.save(survey_directory, batch_number) - def save(self, path: str, batch_number: int = 0): - """Save blend results into path.""" + def save_fits(self, path: str, batch_number: int = 0): + """Save blend results into path using fits format.""" for survey_name, blend_batch in self.results.items(): survey_directory = os.path.join(path, str(batch_number), survey_name) if not os.path.exists(survey_directory):