diff options
author | BonfaceKilz | 2021-11-23 17:32:41 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-11-29 12:05:16 +0300 |
commit | b8067b3a5e4c6891d0a0a99e23e03ac12d68d649 (patch) | |
tree | 865e1c79a0af3d464d7427299417bfc04372742c /gn3/db | |
parent | df4ed9183f3efd89d54bba1a144c48475f4b8169 (diff) | |
download | genenetwork3-b8067b3a5e4c6891d0a0a99e23e03ac12d68d649.tar.gz |
db: traits: Remove "\n\n" when generating csv file
In excel, "\n\n" is replaced with ",,,," during upload.
Diffstat (limited to 'gn3/db')
-rw-r--r-- | gn3/db/traits.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/traits.py b/gn3/db/traits.py index 1c6aaa7..56258e2 100644 --- a/gn3/db/traits.py +++ b/gn3/db/traits.py @@ -103,7 +103,7 @@ def get_trait_csv_sample_data(conn: Any, ",".join([str(val) if val else "x" for val in (strain_id, strain_name, value, error, count)])) - return f"# Publish Data Id: {publishdata_id}\n\n" + "\n".join(csv_data) + return f"# Publish Data Id: {publishdata_id}\n" + "\n".join(csv_data) def update_sample_data(conn: Any, |