diff options
author | BonfaceKilz | 2020-08-19 03:27:21 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-08-19 03:27:21 +0300 |
commit | 1c3ade2f739608563cc1659dd93e5b2abc446046 (patch) | |
tree | 78f7bef2fee82270d51cbc9cda37100c36d29a84 /wqflask/base/trait.py | |
parent | 17a72093f829666cc6e8df722771d31066dd71d0 (diff) | |
download | genenetwork2-1c3ade2f739608563cc1659dd93e5b2abc446046.tar.gz |
Replace backtick repr with the repr() function
* wqflask/base/trait.py: See
<https://docs.python.org/2/library/2to3.html#2to3fixer-repr>
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r-- | wqflask/base/trait.py | 2 |
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 |