Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jass
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Statistical-Genetics
jass
Commits
8d74c46f
Commit
8d74c46f
authored
7 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
fix unit tests to avoid comparing indices of sumstatjosttab
parent
2c3f1fa8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jass/test/test_worktable.py
+2
-2
2 additions, 2 deletions
jass/test/test_worktable.py
with
2 additions
and
2 deletions
jass/test/test_worktable.py
+
2
−
2
View file @
8d74c46f
...
...
@@ -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
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment