Commit cdef9454 authored by Hanna  JULIENNE's avatar Hanna JULIENNE

treat case when inversion fail

parent e8e9199b
Pipeline #44872 passed with stages
in 1 minute and 2 seconds
......@@ -177,6 +177,8 @@ def impg_like_imputation(ld_file, ref_panel, zscore, window_size, buffer, lamb,
snp_well_predicted = (batch_df.Var < 0.9)
batch_df_filt = batch_df.loc[in_core_window & snp_well_predicted, zscore_results.columns]
zscore_results = pd.concat([zscore_results, batch_df_filt])
else:
zscore_results = pd.concat([zt, batch_df_filt])
i = i+1
print_progression(i, Nwindows)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment