aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/export_traits.py2
-rw-r--r--wqflask/wqflask/views.py4
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()