From 0a65bd9dada45c6b3930a1942e5320d5b3d341a3 Mon Sep 17 00:00:00 2001 From: "Zhian N. Kamvar (UMass)" Date: Fri, 22 Nov 2024 15:11:12 -0800 Subject: [PATCH] add comment for the function --- src/hub_predtimechart/app/generate_json_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hub_predtimechart/app/generate_json_files.py b/src/hub_predtimechart/app/generate_json_files.py index 551bbc1..0b2951b 100644 --- a/src/hub_predtimechart/app/generate_json_files.py +++ b/src/hub_predtimechart/app/generate_json_files.py @@ -99,7 +99,7 @@ def generate_forecast_json_file(hub_config, model_id_to_df, output_dir, target, """ Gets the forecast data to save using the passed args and then saves it to the appropriately-named json file in `output_dir`. Returns the saved json file Path, or None if no json file was generated (i.e., there was no forecast - data for the args). + data for the args) OR if the json file already exists. """ file_name = json_file_name(target, task_ids_tuple, reference_date) json_file_path = output_dir / file_name