Skip to content

Commit

Permalink
tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandut committed Aug 20, 2024
1 parent 923af51 commit 6eb2de6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fedeca/tests/test_run_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def test_example_experiment(tmp_path):
df_res.to_csv(path_csv, index=False)
df_res = pd.read_csv(path_csv)

path_csv_true = (
Path(__file__).parent / "artifacts/results_test_run.csv"
)
path_csv_true = Path(__file__).parent / "artifacts/results_test_run.csv"
df_true = pd.read_csv(path_csv_true)
# In the past there was a bug in SMD computation so no need to match the bug
cols = [col for col in df_true.columns if "smd" not in col]

pd.testing.assert_frame_equal(df_res, df_true)
pd.testing.assert_frame_equal(df_res[cols], df_true[cols])

0 comments on commit 6eb2de6

Please sign in to comment.