From 04b32f95279602da4cfb00b4f356a04eee48af51 Mon Sep 17 00:00:00 2001
From: zsloan
Date: Mon, 9 Mar 2020 11:54:34 -0500
Subject: I think this should complete consolidating all the collections code.
---
wqflask/base/trait.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'wqflask/base')
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index c9dfe780..8e779a11 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -303,7 +303,7 @@ def jsonable_table_row(trait, dataset_name, index):
additive = "N/A"
else:
additive = "%.3f" % round(float(trait.additive), 2)
- return ['',
+ return ['',
index,
''+str(trait.name)+'',
trait.symbol,
@@ -319,7 +319,7 @@ def jsonable_table_row(trait, dataset_name, index):
else:
additive = "%.2f" % round(float(trait.additive), 2)
if trait.pubmed_id:
- return ['',
+ return ['',
index,
''+str(trait.name)+'',
trait.description_display,
@@ -329,7 +329,7 @@ def jsonable_table_row(trait, dataset_name, index):
trait.LRS_location_repr,
additive]
else:
- return ['',
+ return ['',
index,
''+str(trait.name)+'',
trait.description_display,
@@ -339,7 +339,7 @@ def jsonable_table_row(trait, dataset_name, index):
trait.LRS_location_repr,
additive]
elif dataset.type == "Geno":
- return ['',
+ return ['',
index,
''+str(trait.name)+'',
trait.location_repr]
--
cgit v1.2.3