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


parent fd935ad8
Pipeline #61490 failed with stage
in 29 seconds
...@@ -13,7 +13,6 @@ def save_output_by_chromosome(mgwas, ImpG_output_Folder, my_study): ...@@ -13,7 +13,6 @@ def save_output_by_chromosome(mgwas, ImpG_output_Folder, my_study):
print(mgwas_copy.index.unique()) print(mgwas_copy.index.unique())
for chrom in mgwas_copy.index.unique(): for chrom in mgwas_copy.index.unique():
if type(mgwas_copy.loc[chrom]) is pd.core.frame.DataFrame: if type(mgwas_copy.loc[chrom]) is pd.core.frame.DataFrame:
mgwas_chr = pd.DataFrame({ mgwas_chr = pd.DataFrame({
'rsID': mgwas_copy.loc[chrom].snp_id, 'rsID': mgwas_copy.loc[chrom].snp_id,
'pos': mgwas_copy.loc[chrom].pos, 'pos': mgwas_copy.loc[chrom].pos,
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