Skip to content
Snippets Groups Projects
Commit 632e7442 authored by Hanna  JULIENNE's avatar Hanna JULIENNE
Browse files

Merge branch 'hot_fix_batch' of...

Merge branch 'hot_fix_batch' of https://gitlab.pasteur.fr/statistical-genetics/jass into hot_fix_batch
parents 9fcb76ee 77459f82
No related branches found
No related tags found
1 merge request!43Correct phenotype 'type' property undefined in the API
...@@ -174,6 +174,7 @@ def compute_covariance_zscore(init_file_path, path_covariance=None): ...@@ -174,6 +174,7 @@ def compute_covariance_zscore(init_file_path, path_covariance=None):
j = 0 j = 0
for tr1 in trait: for tr1 in trait:
for tr2 in trait[j:]: for tr2 in trait[j:]:
sum_stat_jost_tab[[tr1, tr2]].replace([np.inf, -np.inf], np.nan, inplace=True)
cc = sum_stat_jost_tab[[tr1, tr2]].dropna() cc = sum_stat_jost_tab[[tr1, tr2]].dropna()
cc = cc.loc[cc.max(1) < 4] cc = cc.loc[cc.max(1) < 4]
......
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