fatmacankara commited on
Commit
ab92a2e
·
1 Parent(s): 60854cf

Update code/pdb_featureVector.py

Browse files
Files changed (1) hide show
  1. code/pdb_featureVector.py +2 -2
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('response2', response)
 
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