Spaces:
Runtime error
Runtime error
simonduerr
commited on
Commit
•
994ce77
1
Parent(s):
55d0e8a
Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,9 @@ import os
|
|
7 |
|
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 == "":
|
15 |
try:
|
|
|
7 |
|
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 == "":
|
15 |
try:
|