Spaces:
Paused
Paused
osanseviero
commited on
Commit
•
10f379b
1
Parent(s):
d6f24d7
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def molecule(input_pdb):
|
|
54 |
viewer.getModel(0).setStyle({}, { cartoon: { colorscheme: {"prop":"resi","gradient":"roygb", "min": 26, "max": 250} } });
|
55 |
viewer.zoomTo();
|
56 |
viewer.render();
|
57 |
-
viewer.zoom(
|
58 |
})
|
59 |
</script>
|
60 |
</body></html>"""
|
|
|
54 |
viewer.getModel(0).setStyle({}, { cartoon: { colorscheme: {"prop":"resi","gradient":"roygb", "min": 26, "max": 250} } });
|
55 |
viewer.zoomTo();
|
56 |
viewer.render();
|
57 |
+
viewer.zoom(1.2, 2000);
|
58 |
})
|
59 |
</script>
|
60 |
</body></html>"""
|