Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
ffb4736
1
Parent(s):
3c0921a
Rename code/pdb_featureVector.py to pdb_featureVector.py
Browse files
code/pdb_featureVector.py → pdb_featureVector.py
RENAMED
@@ -221,7 +221,7 @@ def pdb(input_set, mode, impute):
|
|
221 |
response.raise_for_status() # Check for a successful response
|
222 |
data = response.json()
|
223 |
|
224 |
-
return list(list(list(data.values())[0].values())[0].keys())
|
225 |
for search in pdbs:
|
226 |
# Step 1: Fetch the PDB file
|
227 |
pdb_url = f"https://files.rcsb.org/download/{search}.pdb"
|
|
|
221 |
response.raise_for_status() # Check for a successful response
|
222 |
data = response.json()
|
223 |
|
224 |
+
return list(list(list(data.values())[0].values())[0].keys())
|
225 |
for search in pdbs:
|
226 |
# Step 1: Fetch the PDB file
|
227 |
pdb_url = f"https://files.rcsb.org/download/{search}.pdb"
|