mirror of
https://github.com/Priyatham-sai-chand/compara-deep-learning.git
synced 2026-08-15 04:01:14 -07:00
Add files via upload
This commit is contained in:
parent
d43cad6673
commit
7442a3f885
1 changed files with 2 additions and 4 deletions
|
|
@ -115,11 +115,9 @@ def write_preds(fname,model_name,name,preds,index_dict,df):
|
|||
print("Writing predcitions to:","prediction_"+fname+"_"+model_name+"_"+name+"_multiple_pfam.txt")
|
||||
with open("prediction_"+fname+"_"+model_name+"_"+name+"_multiple_pfam.txt","w") as file:
|
||||
for index,row in progressbar.progressbar(df.iterrows()):
|
||||
file.write(str(row[0]))
|
||||
file.write(row["gene_stable_id"])
|
||||
file.write("\t")
|
||||
file.write(row[1])
|
||||
file.write("\t")
|
||||
file.write(row[3])
|
||||
file.write(row["homology_gene_stable_id"])
|
||||
file.write("\t")
|
||||
file.write(str(row["label"]))
|
||||
file.write("\t")
|
||||
|
|
|
|||
Loading…
Reference in a new issue