diff options
Diffstat (limited to 'gn3/api')
-rw-r--r-- | gn3/api/heatmaps.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gn3/api/heatmaps.py b/gn3/api/heatmaps.py index 26c165f..1b04a95 100644 --- a/gn3/api/heatmaps.py +++ b/gn3/api/heatmaps.py @@ -31,7 +31,11 @@ def clustered_heatmaps(): traits_fullnames = [parse_trait_fullname(trait) for trait in traits_names] with io.StringIO() as io_str: - figure = build_heatmap(traits_fullnames, conn, vertical=vertical) + figure = build_heatmap(conn, + traits_fullnames, + current_app.config["GENOTYPE_FILES"], + vertical=vertical, + current_app.config["TMPDIR"]) figure.write_json(io_str) fig_json = io_str.getvalue() return fig_json, 200 |