From 13c17647568c79eadf634707de7a9a830b3b05b9 Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 28 Apr 2022 14:35:17 +0000 Subject: Change export_search_results_csv to export_traits_csv since it's more accurate --- wqflask/wqflask/export_traits.py | 2 +- wqflask/wqflask/views.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wqflask/wqflask/export_traits.py b/wqflask/wqflask/export_traits.py index f4e04a4b..5de6eb43 100644 --- a/wqflask/wqflask/export_traits.py +++ b/wqflask/wqflask/export_traits.py @@ -16,7 +16,7 @@ from utility.logger import getLogger logger = getLogger(__name__) -def export_search_results_csv(targs): +def export_traits_csv(targs): table_data = json.loads(targs['export_data']) table_rows = table_data['rows'] diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index cad07267..729148ac 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -73,7 +73,7 @@ from wqflask.ctl.gn3_ctl_analysis import run_ctl from wqflask.wgcna.gn3_wgcna import run_wgcna from wqflask.snp_browser import snp_browser from wqflask.search_results import SearchResultPage -from wqflask.export_traits import export_search_results_csv +from wqflask.export_traits import export_traits_csv from wqflask.gsearch import GSearch from wqflask.update_search_results import GSearch as UpdateGSearch from wqflask.docs import Docs, update_text @@ -469,7 +469,7 @@ def export_traits_csv(): logger.info("In export_traits_csv") logger.info("request.form:", request.form) logger.info(request.url) - file_list = export_search_results_csv(request.form) + file_list = export_traits_csv(request.form) if len(file_list) > 1: now = datetime.datetime.now() -- cgit v1.2.3