aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2020-02-25 12:47:29 -0600
committerzsloan2020-02-25 12:47:29 -0600
commit1f807798ed90f2e78c3d31cf0208cbf7e7171ecb (patch)
treed28610c2ab1a8169680407fa9c73d0099f94ebee
parent0422c0e7ecbe0f8088b9956b96e5c375bfd6e442 (diff)
downloadgenenetwork2-1f807798ed90f2e78c3d31cf0208cbf7e7171ecb.tar.gz
Fixed minor syntax issue
-rw-r--r--wqflask/wqflask/views.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index 90fd798d..a84a7480 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -679,9 +679,11 @@ def mapping_results_page():
template_vars = run_mapping.RunMapping(start_vars, temp_uuid)
if template_vars.no_results:
rendered_template = render_template("mapping_error.html")
+ return rendered_template
except:
rendered_template = render_template("mapping_error.html")
- else:
+ return rendered_template
+
#if template_vars.mapping_method != "gemma" and template_vars.mapping_method != "plink":
template_vars.js_data = json.dumps(template_vars.js_data,
default=json_default_handler,