Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
ab92a2e
1
Parent(s):
60854cf
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
@@ -229,11 +229,11 @@ def pdb(input_set, mode, impute):
|
|
229 |
st.write(pdb_url)
|
230 |
try:
|
231 |
response = requests.get(pdb_url)
|
232 |
-
st.write('response', response)
|
233 |
response.raise_for_status() # Check for a successful response
|
234 |
except :
|
235 |
continue # Skip to the next PDB code if fetching fails
|
236 |
-
st.write('
|
|
|
237 |
# Step 2: Parse the PDB file from memory
|
238 |
pdb_data = response.text
|
239 |
pdb_parser = PDBParser(QUIET=True) # QUIET=True suppresses warnings
|
|
|
229 |
st.write(pdb_url)
|
230 |
try:
|
231 |
response = requests.get(pdb_url)
|
|
|
232 |
response.raise_for_status() # Check for a successful response
|
233 |
except :
|
234 |
continue # Skip to the next PDB code if fetching fails
|
235 |
+
st.write('response', response)
|
236 |
+
st.write(response.text)
|
237 |
# Step 2: Parse the PDB file from memory
|
238 |
pdb_data = response.text
|
239 |
pdb_parser = PDBParser(QUIET=True) # QUIET=True suppresses warnings
|