From 1f807798ed90f2e78c3d31cf0208cbf7e7171ecb Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 25 Feb 2020 12:47:29 -0600 Subject: Fixed minor syntax issue --- wqflask/wqflask/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wqflask') 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, -- cgit v1.2.3