added animations
This commit is contained in:
parent
a309a4607a
commit
de479dd421
|
@ -35,12 +35,7 @@ def email(zipArchive):
|
|||
|
||||
s = smtplib.SMTP('smtp.gmail.com', 587)
|
||||
s.starttls()
|
||||
<<<<<<< HEAD
|
||||
s.login(fromaddr, 'okrs shoc ahtk idui')
|
||||
=======
|
||||
s.login(fromaddr, 'okrs shoc ahtk idui')
|
||||
>>>>>>> d68da3f38ac2b3740a2604dbf15e39fe9e307329
|
||||
|
||||
text = msg.as_string()
|
||||
|
||||
s.sendmail(fromaddr, toaddr, text)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 94 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,10 @@
|
|||
var animation = bodymovin.loadAnimation({
|
||||
container: document.getElementById('astronaut'),
|
||||
|
||||
renderer: 'svg',
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
path: "static/js/Astronaut.json"
|
||||
|
||||
// Make sure your path has the same filename as your animated SVG's JSON file //
|
||||
})
|
|
@ -0,0 +1,10 @@
|
|||
var animation = bodymovin.loadAnimation({
|
||||
container: document.getElementById('chemical'),
|
||||
|
||||
renderer: 'svg',
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
path: "static/js/Chemical.json"
|
||||
|
||||
// Make sure your path has the same filename as your animated SVG's JSON file //
|
||||
})
|
|
@ -0,0 +1,10 @@
|
|||
var animation = bodymovin.loadAnimation({
|
||||
container: document.getElementById('discovery'),
|
||||
|
||||
renderer: 'svg',
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
path: "static/js/Discovery.json"
|
||||
|
||||
// Make sure your path has the same filename as your animated SVG's JSON file //
|
||||
})
|
|
@ -0,0 +1,10 @@
|
|||
var animation = bodymovin.loadAnimation({
|
||||
container: document.getElementById('dog'),
|
||||
|
||||
renderer: 'svg',
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
path: "static/js/Dog.json"
|
||||
|
||||
// Make sure your path has the same filename as your animated SVG's JSON file //
|
||||
})
|
|
@ -0,0 +1,10 @@
|
|||
var animation = bodymovin.loadAnimation({
|
||||
container: document.getElementById('growth'),
|
||||
|
||||
renderer: 'svg',
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
path: "static/js/Growth.json"
|
||||
|
||||
// Make sure your path has the same filename as your animated SVG's JSON file //
|
||||
})
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,10 @@
|
|||
var animation = bodymovin.loadAnimation({
|
||||
container: document.getElementById('puzzle'),
|
||||
|
||||
renderer: 'svg',
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
path: "static/js/Puzzle.json"
|
||||
|
||||
// Make sure your path has the same filename as your animated SVG's JSON file //
|
||||
})
|
|
@ -4,4 +4,13 @@
|
|||
<h2>Oh Snap! Error 404</h2>
|
||||
<p>The Page you are looking for cannot be found</p>
|
||||
<p>Go Back <a href="{{ url_for('home') }}">home</a></p>
|
||||
<section>
|
||||
<style>
|
||||
#puzzle{
|
||||
height: 40vh;
|
||||
}
|
||||
</style>
|
||||
<div id="puzzle"></div>
|
||||
<script src="{{url_for('static',filename='js/missing_puzzle.js')}}"></script>
|
||||
</section>
|
||||
{% endblock %}
|
|
@ -8,4 +8,14 @@
|
|||
to create high quality ray-traced visualisations. After finding and tabulating protein ligand interactions using PLIP,
|
||||
it creates a PDF and emails you the report ( Along with supporting files )</p>
|
||||
|
||||
<section>
|
||||
<style>
|
||||
#astronaut{
|
||||
height: 40vh;
|
||||
}
|
||||
</style>
|
||||
<div id="astronaut"></div>
|
||||
<script src="{{url_for('static',filename='js/astronaut.js')}}"></script>
|
||||
</section>
|
||||
|
||||
{% endblock %}
|
|
@ -11,6 +11,7 @@
|
|||
<link rel="manifest" href="{{ url_for('static', filename='favicons/site.webmanifest') }}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="google-site-verification" content="qID3RHYrVE0TepLZny0JaOuh-gjiQN4afHe_sdYwjGM" />
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.7.1/lottie.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||
|
|
|
@ -54,4 +54,14 @@
|
|||
|
||||
<button class="btn btn-primary">Upload</button>
|
||||
</form>
|
||||
<br>
|
||||
<section>
|
||||
<style>
|
||||
#discovery{
|
||||
height: 40vh;
|
||||
}
|
||||
</style>
|
||||
<div id="discovery"></div>
|
||||
<script src="{{url_for('static',filename='js/discovery.js')}}"></script>
|
||||
</section>
|
||||
{% endblock %}
|
|
@ -7,4 +7,6 @@
|
|||
<li><a href="{{ url_for('dock_upload') }}">Dock and Report</a></li>
|
||||
<li><a href="{{ url_for('status')}}">Job Status</a></li>
|
||||
</ul>
|
||||
|
||||
<img src="{{url_for('static',filename='assets/workingInALaboratory.svg')}}" />
|
||||
{% endblock %}
|
|
@ -7,4 +7,14 @@
|
|||
<b>Ligand Name: </b>{{ln}}<br>
|
||||
<b>Description: </b>{{desc}}<br>
|
||||
<b>Status: </b>{{status}}
|
||||
|
||||
<section>
|
||||
<style>
|
||||
#growth{
|
||||
height: 40vh;
|
||||
}
|
||||
</style>
|
||||
<div id="growth"></div>
|
||||
<script src="{{url_for('static',filename='js/growth.js')}}"></script>
|
||||
</section>
|
||||
{% endblock %}
|
|
@ -3,4 +3,13 @@
|
|||
{% block main %}
|
||||
<h2>Job ID: {{ job }}</h2>
|
||||
<p>This Job ID does not exist 😠. If you think this is an error, please contact us.</p>
|
||||
<section>
|
||||
<style>
|
||||
#chemical{
|
||||
height: 40vh;
|
||||
}
|
||||
</style>
|
||||
<div id="chemical"></div>
|
||||
<script src="{{url_for('static',filename='js/chemical.js')}}"></script>
|
||||
</section>
|
||||
{% endblock %}
|
|
@ -12,4 +12,14 @@
|
|||
|
||||
<button class="btn btn-primary">Get Status</button>
|
||||
</form>
|
||||
|
||||
<section>
|
||||
<style>
|
||||
#dog{
|
||||
height: 40vh;
|
||||
}
|
||||
</style>
|
||||
<div id="dog"></div>
|
||||
<script src="{{url_for('static',filename='js/dog.js')}}"></script>
|
||||
</section>
|
||||
{% endblock %}
|
|
@ -110,6 +110,7 @@ def wtform():
|
|||
flash_errors(myform)
|
||||
return render_template('wtform.html', form=myform)
|
||||
|
||||
tfWorking = -1
|
||||
|
||||
try:
|
||||
from lstm_chem.utils.config import process_config
|
||||
|
@ -120,8 +121,11 @@ try:
|
|||
gen = LSTMChemGenerator(modeler)
|
||||
print("Testing Model")
|
||||
gen.sample(1)
|
||||
tfWorking = 1
|
||||
except:
|
||||
print("Could not load tensorflow model :/")
|
||||
tfWorking = 0
|
||||
|
||||
|
||||
@app.route('/Generate', methods=['GET','POST'])
|
||||
def generate():
|
||||
|
|
Loading…
Reference in New Issue