Spaces:
Runtime error
Runtime error
simonduerr
commited on
Commit
•
706fcd8
1
Parent(s):
d040c51
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def update(inp, file, mode, custom_resids, clustering_threshold):
|
|
47 |
f"http://files.rcsb.org/download/{pdb_file.lower()}.pdb1",
|
48 |
f"files/{pdb_file}.pdb",
|
49 |
)
|
50 |
-
|
51 |
else:
|
52 |
return "pdb code must be 4 letters or Uniprot code does not match", ""
|
53 |
|
|
|
47 |
f"http://files.rcsb.org/download/{pdb_file.lower()}.pdb1",
|
48 |
f"files/{pdb_file}.pdb",
|
49 |
)
|
50 |
+
filepath = f"files/{pdb_file}.pdb"
|
51 |
else:
|
52 |
return "pdb code must be 4 letters or Uniprot code does not match", ""
|
53 |
|