aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-05-05 19:50:18 +0000
committerzsloan2022-05-10 19:39:27 +0000
commit2c4b548e2c329a67828a1b7304fd03d23243c9dc (patch)
tree195cbdfa0e81ed51144040387e564aa9482725d1
parentfed5e87651e6c0b3a6aedae0c2140ade5f5249e7 (diff)
downloadgenenetwork2-2c4b548e2c329a67828a1b7304fd03d23243c9dc.tar.gz
Export trait string in original format
Previously I was splitting by colon to make it comma-delimited, but this is pointless since this file is going to be reformatted with the colons after being imported
-rw-r--r--wqflask/wqflask/export_traits.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/export_traits.py b/wqflask/wqflask/export_traits.py
index 105d81eb..7fab1e10 100644
--- a/wqflask/wqflask/export_traits.py
+++ b/wqflask/wqflask/export_traits.py
@@ -30,7 +30,7 @@ def export_collection(targs):
buff = io.StringIO()
writer = csv.writer(buff)
for trait in table_rows:
- writer.writerow(trait.split(":"))
+ writer.writerow([trait])
csv_data = buff.getvalue()
buff.close()