Skip to content

Commit

Permalink
Added more debbuging code
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-schesch committed Nov 16, 2024
1 parent bb440ff commit 67a5cc5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/check_equal_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ def remove_run_time(df):
print(f"Goal columns: {goal_df.columns}")
print(f"Actual columns: {actual_df.columns}")
print(f"Columns that are not equal: {different_columns}")
for col in different_columns:
print(f"Goal {col}:")
print(goal_df[col])
print(f"Actual {col}:")
print(actual_df[col])
print(f"{goal_folder/goal_file} and {actual_file} are not equal")
raise ValueError("goal_df and actual_df have different columns or values")

Expand Down

0 comments on commit 67a5cc5

Please sign in to comment.