Spaces:
Running
Running
Commit
·
9f158f0
1
Parent(s):
baf3e1e
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
@@ -238,10 +238,12 @@ def pdb(input_set, mode, impute):
|
|
238 |
file = pdbl.retrieve_pdb_file(search, pdir=path_pdb, file_format="pdb")
|
239 |
st.write('file: ', file)
|
240 |
existing_pdb = list(Path(path_to_output_files / 'pdb_structures').glob("*"))
|
|
|
241 |
st.write('after download:', existing_pdb)
|
242 |
st.write(Path(path_to_output_files / 'pdb_structures') , path_pdb)
|
243 |
-
|
244 |
-
|
|
|
245 |
|
246 |
resolution_method = parser.get_structure(search, file)
|
247 |
for record in SeqIO.parse(file, "pdb-seqres"):
|
|
|
238 |
file = pdbl.retrieve_pdb_file(search, pdir=path_pdb, file_format="pdb")
|
239 |
st.write('file: ', file)
|
240 |
existing_pdb = list(Path(path_to_output_files / 'pdb_structures').glob("*"))
|
241 |
+
|
242 |
st.write('after download:', existing_pdb)
|
243 |
st.write(Path(path_to_output_files / 'pdb_structures') , path_pdb)
|
244 |
+
|
245 |
+
existing_pdb = list(glob.glob(f"{path_pdb}/*"))
|
246 |
+
st.write('after download 2:', existing_pdb)
|
247 |
|
248 |
resolution_method = parser.get_structure(search, file)
|
249 |
for record in SeqIO.parse(file, "pdb-seqres"):
|