diff options
author | Pjotr Prins | 2016-09-25 10:43:38 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-09-25 10:43:38 +0000 |
commit | f69c43a8900ac55218ec0fc9a6c00cf654190d6d (patch) | |
tree | a75dbe794d9da4c40bf547f984cd3efe593950b9 | |
parent | d06fc474275306e23d96360bc183b8c484e3e42a (diff) | |
download | genenetwork2-f69c43a8900ac55218ec0fc9a6c00cf654190d6d.tar.gz |
Logger: use output for assessing mapping parameters
-rw-r--r-- | etc/default_settings.py | 1 | ||||
-rw-r--r-- | wqflask/wqflask/views.py | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/etc/default_settings.py b/etc/default_settings.py index 9dddd0ad..fc79713c 100644 --- a/etc/default_settings.py +++ b/etc/default_settings.py @@ -7,6 +7,7 @@ # e.g. # # env LOG_SQL=True USE_REDIS=False ./bin/genenetwork2 +# env LOG_LEVEL=DEBUG ./bin/genenetwork2 ~/gn2_settings.py # # Note also that in the near future we will additionally fetch # settings from a JSON file diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index 41e2c7be..b747654a 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -432,11 +432,12 @@ def marker_regression_page(): 'mapmethod_rqtl_geno', 'mapmodel_rqtl_geno' ) - logger.info("Marker regression called with initial_start_vars:", initial_start_vars) + logger.debug("Marker regression called with initial_start_vars:", initial_start_vars) start_vars = {} for key, value in initial_start_vars.iteritems(): if key in wanted or key.startswith(('value:')): start_vars[key] = value + logger.debug("Marker regression called with start_vars:", start_vars) version = "v3" key = "marker_regression:{}:".format(version) + json.dumps(start_vars, sort_keys=True) @@ -546,7 +547,7 @@ def network_graph_page(): return render_template("network_graph.html", **template_vars.__dict__) else: return render_template("empty_collection.html", **{'tool':'Network Graph'}) - + @app.route("/corr_compute", methods=('POST',)) def corr_compute_page(): logger.info("In corr_compute, request.form is:", pf(request.form)) |