Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
•
ecbba09
1
Parent(s):
018853b
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,6 @@ with open(pdb_filename, "w") as out:
|
|
19 |
# 1A2C
|
20 |
# Structure of thrombin inhibited by AERUGINOSIN298-A from a BLUE-GREEN ALGA
|
21 |
xyzview = py3Dmol.view(width=400, height=300)
|
22 |
-
|
23 |
xyzview.setStyle({'cartoon':{'color':'spectrum'}})
|
24 |
showmol(xyzview, height = 500,width=800)
|
|
|
19 |
# 1A2C
|
20 |
# Structure of thrombin inhibited by AERUGINOSIN298-A from a BLUE-GREEN ALGA
|
21 |
xyzview = py3Dmol.view(width=400, height=300)
|
22 |
+
xyzview.addModelsAsFrames(pdb_filename)
|
23 |
xyzview.setStyle({'cartoon':{'color':'spectrum'}})
|
24 |
showmol(xyzview, height = 500,width=800)
|