Commit d644c800 authored by Hanna  JULIENNE's avatar Hanna JULIENNE
Browse files

fixed cast

parent 48a615de
Pipeline #7909 passed with stages
in 1 minute and 45 seconds
......@@ -51,7 +51,7 @@ def compute_sample_size(mgwas, diagnostic_folder, trait, perSS = 0.7):
warnings.warn("Some snp had an infinite sample size")
myW_thres = np.percentile(myN.dropna(), 90)
ss_thres = int(perSS) * myW_thres
ss_thres = float(perSS) * myW_thres
mgwas["computed_N"] = myN
plt.clf()
p1 = sns.distplot(mgwas.computed_N[~mgwas.computed_N.isna()])
......
Supports Markdown
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