diff options
author | zsloan | 2022-04-28 14:35:17 +0000 |
---|---|---|
committer | zsloan | 2022-05-10 19:39:27 +0000 |
commit | 13c17647568c79eadf634707de7a9a830b3b05b9 (patch) | |
tree | 3445c7615fa4140813a2e89774b9adf17379effe /wqflask | |
parent | 8550ef45985d157405511b4daf5046768c54bb27 (diff) | |
download | genenetwork2-13c17647568c79eadf634707de7a9a830b3b05b9.tar.gz |
Change export_search_results_csv to export_traits_csv since it's more accurate
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/export_traits.py | 2 | ||||
-rw-r--r-- | 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() |