Browse Source

fix typo's in a couple of Python scripts.

master
Craig Oates 1 year ago
parent
commit
36fde29910
  1. 2
      dailies-overlayed.py
  2. 2
      lm1-hourly-totals.py

2
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...")

2
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,

Loading…
Cancel
Save