diff options
author | zsloan | 2019-12-10 16:44:34 -0600 |
---|---|---|
committer | zsloan | 2019-12-10 16:44:34 -0600 |
commit | 03cc3b4c9d0fb58c9b26fa1df1fac485b73b6e8c (patch) | |
tree | 4e15938f2e0b25a281a758df275464cfb0df95f4 /wqflask | |
parent | 28d3170679f2431d7e6a243edfd3f5becf44f41f (diff) | |
download | genenetwork2-03cc3b4c9d0fb58c9b26fa1df1fac485b73b6e8c.tar.gz |
Inverted phenotype output for rqtl2
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/api/router.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/wqflask/api/router.py b/wqflask/wqflask/api/router.py index e371a24e..eb6880f6 100644 --- a/wqflask/wqflask/api/router.py +++ b/wqflask/wqflask/api/router.py @@ -517,6 +517,8 @@ def all_sample_data(dataset_name, file_format = "csv"): line_list.append("x") results_list.append(line_list) + results_list = map(list, zip(*results_list)) + si = StringIO.StringIO() csv_writer = csv.writer(si) csv_writer.writerows(results_list) |