Skip to content
Snippets Groups Projects
Commit b815facf authored by Wernle, Alexandra Nicole's avatar Wernle, Alexandra Nicole
Browse files

Added clarifying commit to variable

parent 61d60b5e
No related branches found
No related tags found
1 merge request!213Removed valid requirements, added valid as attribute to Absolutes, added features to handle spreadsheets that do not have 4 sets"
......@@ -110,6 +110,7 @@ class SpreadsheetSummaryFactory(object):
date = sheet["I1"].value
base_date = f"{date.year}{date.month:02}{date.day:02}"
readings = []
# define the number of sets in a spreadsheet:
sets_len = len(
[
sheet.cell(row=i, column=3).value
......@@ -117,6 +118,7 @@ class SpreadsheetSummaryFactory(object):
if sheet.cell(row=i, column=3).value is not None
]
)
for d_n in range(10, 10 + sets_len):
h_n = d_n + 14
v_n = d_n + 28
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment