aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/data_set.py
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-26 17:38:13 +0300
committerBonfaceKilz2020-08-26 17:38:13 +0300
commit94f97127a9e451c7adb36613d090a612601b9d01 (patch)
tree1881f63313ef5cdb28c0fa2c3aba2ba07b62e5e4 /wqflask/base/data_set.py
parent133db0e8dbc5a0812dc1f06402f2b788aecaef20 (diff)
downloadgenenetwork2-94f97127a9e451c7adb36613d090a612601b9d01.tar.gz
Rename "unicode" to "str"
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-unicode>
Diffstat (limited to 'wqflask/base/data_set.py')
-rw-r--r--wqflask/base/data_set.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 8151a29d..39a8a2ed 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -1044,9 +1044,9 @@ class MrnaAssayDataSet(DataSet):
# XZ, 12/08/2008: description
# XZ, 06/05/2009: Rob asked to add probe target description
- description_string = unicode(
+ description_string = str(
str(this_trait.description).strip(codecs.BOM_UTF8), 'utf-8')
- target_string = unicode(
+ target_string = str(
str(this_trait.probe_target_description).strip(codecs.BOM_UTF8), 'utf-8')
if len(description_string) > 1 and description_string != 'None':