Spaces:
Runtime error
Runtime error
Commit
·
6aa7555
1
Parent(s):
93a296c
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ with open(pdb_filename, "w") as out:
|
|
20 |
# 1A2C
|
21 |
# Structure of thrombin inhibited by AERUGINOSIN298-A from a BLUE-GREEN ALGA
|
22 |
xyzview = py3Dmol.view(js='https://3dmol.org/build/3Dmol.js', width=800, height=400)
|
23 |
-
xyzview.addModel(pdb_filename)
|
24 |
print("Set style")
|
25 |
showmol(xyzview, height = 500,width=800)
|
26 |
print("Displayed")
|
|
|
20 |
# 1A2C
|
21 |
# Structure of thrombin inhibited by AERUGINOSIN298-A from a BLUE-GREEN ALGA
|
22 |
xyzview = py3Dmol.view(js='https://3dmol.org/build/3Dmol.js', width=800, height=400)
|
23 |
+
xyzview.addModel(pdb_filename, "pdb")
|
24 |
print("Set style")
|
25 |
showmol(xyzview, height = 500,width=800)
|
26 |
print("Displayed")
|