Skip to content
Snippets Groups Projects
Commit 8d74c46f authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

fix unit tests to avoid comparing indices of sumstatjosttab

parent 2c3f1fa8
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,9 @@ class TestWorkTable(object):
cls.expected_hdf_path = cls.get_file_path_fn('worktable.hdf5')
create_worktable_file(cls.phenotypes_sel, init_file_path, cls.result_hdf_path, cls.remove_nan)
cls.expected_sumstatjosttab = read_hdf(cls.expected_hdf_path, 'SumStatJostTab')
cls.expected_sumstatjosttab.reset_index(drop=True)
cls.expected_sumstatjosttab.reset_index(drop=True, inplace=True)
cls.result_sumstatjosttab = read_hdf(cls.result_hdf_path, 'SumStatJostTab')
cls.result_sumstatjosttab.reset_index(drop=True)
cls.result_sumstatjosttab.reset_index(drop=True, inplace=True)
cls.expected_regionsubtable = read_hdf(cls.expected_hdf_path, 'RegionSubTable')
cls.result_regionsubtable = read_hdf(cls.result_hdf_path, 'RegionSubTable')
cls.expected_summarytable = read_hdf(cls.expected_hdf_path, 'summaryTable')
......
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