about summary refs log tree commit diff
path: root/gn3/api
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-15 13:45:28 -0500
committerFrederick Muriuki Muriithi2024-10-15 13:45:28 -0500
commite0cba992881413669d27fee54209c8125093a0f4 (patch)
treecedcd72e8d2a3deb6cadb06588dc4c0a5868fdab /gn3/api
parent9bacc257ba784e06bb5f91e8ab3b64805b552f21 (diff)
downloadgenenetwork3-e0cba992881413669d27fee54209c8125093a0f4.tar.gz
Pass in correct file path.
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/heatmaps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/heatmaps.py b/gn3/api/heatmaps.py
index 172d555..d3f9a45 100644
--- a/gn3/api/heatmaps.py
+++ b/gn3/api/heatmaps.py
@@ -33,7 +33,7 @@ def clustered_heatmaps():
         with io.StringIO() as io_str:
             figure = build_heatmap(conn,
                                    traits_fullnames,
-                                   current_app.config["GENOTYPE_FILES"],
+                                   f'{current_app.config["GENOTYPE_FILES"]}/genotype',
                                    vertical=vertical,
                                    tmpdir=current_app.config["TMPDIR"])
             figure.write_json(io_str)