From 36fde29910627fae6fe083484d578caa97edc010 Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Wed, 22 Mar 2023 23:29:51 +0000 Subject: [PATCH] fix typo's in a couple of Python scripts. --- dailies-overlayed.py | 2 +- lm1-hourly-totals.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dailies-overlayed.py b/dailies-overlayed.py index b061fe2..96277d3 100644 --- a/dailies-overlayed.py +++ b/dailies-overlayed.py @@ -51,7 +51,7 @@ def generate_charts (meter_num) : line_color = random_colour()) output_file(f"output/lm{meter_num}-dailies-overlayed.html", - title=f"Light Meter 1 Daily Overlayed") + title=f"Light Meter {meter_num} Daily Overlayed") save(p) print("Generating charts for Light Meter 1...") diff --git a/lm1-hourly-totals.py b/lm1-hourly-totals.py index 9ccf24c..ae2a4b1 100644 --- a/lm1-hourly-totals.py +++ b/lm1-hourly-totals.py @@ -21,7 +21,7 @@ for month in range(6, 8, 1) : else : d = day if day < 13 and month == 6 : - print(f"Skipping: data/light-meter-1-hourly-totals/2021-0{month}/2012-0{month}-{d}.csv") + print(f"Skipping: data/light-meter-1-hourly-totals/2021-0{month}/2021-0{month}-{d}.csv") else : file_path = f"data/light-meter-1-hourly-totals/2021-0{month}/2021-0{month}-{d}.csv" single_file = pd.read_csv (file_path, sep="," ,header=None,