igashov commited on
Commit
d600a06
1 Parent(s): f6ae66a
Files changed (1) hide show
  1. output.py +2 -0
output.py CHANGED
@@ -25,6 +25,7 @@ INITIAL_RENDERING_TEMPLATE = """<!DOCTYPE html>
25
  viewer.addModel(`{molecule}`, "{fmt}")
26
  viewer.getModel().setStyle({{ stick: {{ colorscheme:"greenCarbon" }} }})
27
  viewer.zoomTo();
 
28
  viewer.render();
29
  }});
30
  </script>
@@ -66,6 +67,7 @@ SAMPLES_RENDERING_TEMPLATE = """<!DOCTYPE html>
66
  viewer.addModel(`{molecule}`, "{molecule_fmt}")
67
  viewer.getModel().setStyle({{ stick: {{ colorscheme:"greenCarbon" }} }})
68
  viewer.zoomTo();
 
69
  viewer.render();
70
  }});
71
  $("#fragments").click(function() {{
 
25
  viewer.addModel(`{molecule}`, "{fmt}")
26
  viewer.getModel().setStyle({{ stick: {{ colorscheme:"greenCarbon" }} }})
27
  viewer.zoomTo();
28
+ viewer.zoom(0.7);
29
  viewer.render();
30
  }});
31
  </script>
 
67
  viewer.addModel(`{molecule}`, "{molecule_fmt}")
68
  viewer.getModel().setStyle({{ stick: {{ colorscheme:"greenCarbon" }} }})
69
  viewer.zoomTo();
70
+ viewer.zoom(0.7);
71
  viewer.render();
72
  }});
73
  $("#fragments").click(function() {{