Skip to content
Snippets Groups Projects
Commit 37349afb authored by Maurice Zimmnau's avatar Maurice Zimmnau
Browse files

ACorrection of helper script

parent c6dad9ff
No related branches found
No related tags found
No related merge requests found
Pipeline #1626311 canceled
......@@ -21,9 +21,9 @@ def check_html_file(html_file):
# Convert the HTML table to a Pandas DataFrame
df = pd.read_html(StringIO(table))[0]
# Check the values in the fourth column (index 3)
# Check the values in the second column (index 1)
has_deviation = False
for index, value in enumerate(df.iloc[:, 3]):
for index, value in enumerate(df.iloc[:, 1]):
if not pd.isna(value) and value not in ['-nan', 'nan', 0]:
first_column_value = df.iloc[index, 0] # Get the first column value of this row
print(f"Warning: Deviation in '{first_column_value}'.")
......
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