aboutsummaryrefslogtreecommitdiff
path: root/app/views.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-08-30 22:24:16 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-08-30 22:24:16 +0530
commit422a7b2e721b1afb475db6ab98416e86258e46eb (patch)
treebeae4333b059e8f34467acd099304a5bec327632 /app/views.py
parent647709724110149d51f3195e6618c9d861ab3dcf (diff)
added AR functionality
Diffstat (limited to 'app/views.py')
-rw-r--r--app/views.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views.py b/app/views.py
index 2266f40..65dd4a9 100644
--- a/app/views.py
+++ b/app/views.py
@@ -104,8 +104,10 @@ def status():
protein_name = r[6]
PDFReport = "/static/uploads/reports/" + str(jobID) + ".pdf"
+ AndroidModel = "/static/uploads/3DModels/" + str(jobID) + ".gltf"
+ iOSModel = "/static/uploads/3DModels/" + str(jobID) + ".usdz"
- return render_template('job_status.html',ID=jobID,pn=protein_name,ln=ligand_name,subDate=date,desc=description,status=done,PDFReport=PDFReport)
+ return render_template('job_status.html',ID=jobID,pn=protein_name,ln=ligand_name,subDate=date,desc=description,status=done,PDFReport=PDFReport,AndroidModel=AndroidModel,iOSModel=iOSModel)
flash_errors(taskStatusForm)
return render_template('job_status_form.html',form=taskStatusForm)