Skip to content

Commit

Permalink
Add debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-schesch committed Nov 15, 2024
1 parent 09e6e70 commit bb440ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/check_equal_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ def remove_run_time(df):
different_columns.append(col)

if len(different_columns) > 0:
print(f"Goal columns: {goal_df.columns}")
print(f"Actual columns: {actual_df.columns}")
print(f"Columns that are not equal: {different_columns}")
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 bb440ff

Please sign in to comment.