diff options
author | BonfaceKilz | 2021-11-23 17:32:41 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-11-23 17:32:41 +0300 |
commit | a6d61f58dc07ba307698c90befab28bcaf691966 (patch) | |
tree | 3c78c46a4202f0274cc449e254dc084cc82dfcfc /gn3 | |
parent | 92d5766f5514181cd6aa82fc0d0f225666e892cb (diff) | |
download | genenetwork3-a6d61f58dc07ba307698c90befab28bcaf691966.tar.gz |
db: traits: Remove "\n\n" when generating csv file
In excel, "\n\n" is replaced with ",,,," during upload.
Diffstat (limited to 'gn3')
-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, |