Spaces:
Running
Running
Commit
·
85e51d9
1
Parent(s):
3a02bd4
Update code/alphafold_featureVector.py
Browse files
code/alphafold_featureVector.py
CHANGED
@@ -368,8 +368,7 @@ def alphafold(input_set, mode, impute):
|
|
368 |
info_per_model[mod][annot] = annotation_pos_on_pdb_
|
369 |
#pdb_path = Path(f'{alphafold_path}/AF-{uniprotID}-F{mod}-{file_str}.pdb.gz')
|
370 |
st.write('HERE1')
|
371 |
-
|
372 |
-
pdb_path= hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{name}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
373 |
with gzip.open(pdb_path, mode="rt") as f:
|
374 |
file_content = f.read()
|
375 |
st.write(file_content)
|
|
|
368 |
info_per_model[mod][annot] = annotation_pos_on_pdb_
|
369 |
#pdb_path = Path(f'{alphafold_path}/AF-{uniprotID}-F{mod}-{file_str}.pdb.gz')
|
370 |
st.write('HERE1')
|
371 |
+
pdb_path= hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{uniprotID}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
|
|
372 |
with gzip.open(pdb_path, mode="rt") as f:
|
373 |
file_content = f.read()
|
374 |
st.write(file_content)
|