about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--wqflask/base/trait.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index c2d260e3..a513b589 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -605,6 +605,6 @@ def retrieve_trait_info(trait, dataset, get_qtl_info=False):
                 if trait.lrs != "":
                     trait.LRS_score_repr = LRS_score_repr = '%3.1f' % trait.lrs
     else:
-        raise KeyError(`trait.name`+' information is not found in the database.')
+        raise KeyError(repr(trait.name)+' information is not found in the database.')
         
     return trait
\ No newline at end of file