Spaces:
Sleeping
Sleeping
Commit
·
35d3df1
1
Parent(s):
4763e36
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
|
@@ -230,10 +230,10 @@ def pdb(input_set, mode, impute):
|
|
| 230 |
st.write('searching for pdb:', search)
|
| 231 |
try:
|
| 232 |
if search.lower() not in existing_pdb:
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
else:
|
| 238 |
print('PDB structure file exists..')
|
| 239 |
for filename in list(Path(path_to_output_files / 'pdb_structures').glob("*")):
|
|
|
|
| 230 |
st.write('searching for pdb:', search)
|
| 231 |
try:
|
| 232 |
if search.lower() not in existing_pdb:
|
| 233 |
+
path_pdb = 'out_files/pdb/pdb_structures'
|
| 234 |
+
st.write('path for pdb: ',path_pdb)
|
| 235 |
+
file = pdbl.retrieve_pdb_file(search, pdir=path_pdb, file_format="pdb")
|
| 236 |
+
existing_pdb = list(path_pdb.glob("*"))
|
| 237 |
else:
|
| 238 |
print('PDB structure file exists..')
|
| 239 |
for filename in list(Path(path_to_output_files / 'pdb_structures').glob("*")):
|