diff options
author | zsloan | 2021-10-19 15:48:33 +0000 |
---|---|---|
committer | zsloan | 2021-10-19 15:48:33 +0000 |
commit | c16e361c402028c02421644c652c42c641931ddf (patch) | |
tree | cabbaa691f199d552a55acd12964d2fd1cda3a74 /wqflask | |
parent | ebfeee414acc0f59090fc86eaf2d631b7a3f0790 (diff) | |
download | genenetwork2-c16e361c402028c02421644c652c42c641931ddf.tar.gz |
Fixes issue with the bytes encoding being included in the string for ProbeSet trait descriptions on the search result page
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/search_results.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/search_results.py b/wqflask/wqflask/search_results.py index dcc8021a..5ca1f9ca 100644 --- a/wqflask/wqflask/search_results.py +++ b/wqflask/wqflask/search_results.py @@ -120,7 +120,7 @@ class SearchResultPage: trait_dict['symbol'] = "N/A" if result[3] is None else result[3].strip() description_text = "N/A" if result[4] is None or str(result[4]) == "" else trait_dict['symbol'] - target_string = result[5] + target_string = result[5].decode('utf-8') if result[5] else "" description_display = description_text if target_string is None or str(target_string) == "" else description_text + "; " + str(target_string).strip() trait_dict['description'] = description_display |