simonduerr commited on
Commit
05a84a9
1 Parent(s): 6d9179c

Fix visualization

Browse files

A recent upgrade to 3dmol js removed Jquery from the library. To get back a working visualization need to include jquery.

Files changed (1) hide show
  1. output.py +1 -0
output.py CHANGED
@@ -2,6 +2,7 @@ INITIAL_RENDERING_TEMPLATE = """<!DOCTYPE html>
2
  <html>
3
  <head>
4
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
 
5
  <script src="https://3Dmol.org/build/3Dmol.js"></script>
6
  <style>
7
  .mol-container {{
 
2
  <html>
3
  <head>
4
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
5
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.3/jquery.min.js" integrity="sha512-STof4xm1wgkfm7heWqFJVn58Hm3EtS31XFaagaa8VMReCXAkQnJZ+jEy8PCC/iT18dFy95WcExNHFTqLyp72eQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
6
  <script src="https://3Dmol.org/build/3Dmol.js"></script>
7
  <style>
8
  .mol-container {{