Spaces:
Runtime error
Runtime error
simonduerr
commited on
Commit
•
a0dc483
1
Parent(s):
0c3025c
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import os
|
|
8 |
def get_pdb(upload_choice="PDB Code", pdb_code="", filepath=""):
|
9 |
urls = {
|
10 |
"PDB Code": {base:"https://files.rcsb.org/view/", suffix:".pdb"},
|
11 |
-
"AlphaFold DB": {base:"https://alphafold.ebi.ac.uk/files/", suffix: "-F1-model_v4.pdb"}
|
12 |
"ESM Atlas": {base: "https://api.esmatlas.com/fetchPredictedStructure/", suffix:".pdb"}
|
13 |
}
|
14 |
if pdb_code is None or pdb_code == "":
|
|
|
8 |
def get_pdb(upload_choice="PDB Code", pdb_code="", filepath=""):
|
9 |
urls = {
|
10 |
"PDB Code": {base:"https://files.rcsb.org/view/", suffix:".pdb"},
|
11 |
+
"AlphaFold DB": {base:"https://alphafold.ebi.ac.uk/files/", suffix: "-F1-model_v4.pdb"},
|
12 |
"ESM Atlas": {base: "https://api.esmatlas.com/fetchPredictedStructure/", suffix:".pdb"}
|
13 |
}
|
14 |
if pdb_code is None or pdb_code == "":
|