fatmacankara commited on
Commit
75dfe1a
·
1 Parent(s): 34afe07

Update code/alphafold_featureVector.py

Browse files
Files changed (1) hide show
  1. code/alphafold_featureVector.py +3 -0
code/alphafold_featureVector.py CHANGED
@@ -625,10 +625,13 @@ def alphafold(input_set, mode, impute):
625
 
626
  try:
627
  pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
 
628
  except FileNotFoundError:
629
  pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures3", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
 
630
  except FileNotFoundError:
631
  pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures3", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
 
632
 
633
  #with gzip.open(pdb_path, mode="rt") as f:
634
  # file_content = f.read()
 
625
 
626
  try:
627
  pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
628
+ st.write('1')
629
  except FileNotFoundError:
630
  pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures3", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
631
+ st.write('2')
632
  except FileNotFoundError:
633
  pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures3", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
634
+ st.write('3')
635
 
636
  #with gzip.open(pdb_path, mode="rt") as f:
637
  # file_content = f.read()