aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorzsloan2020-07-06 14:51:09 -0500
committerzsloan2020-07-06 14:51:09 -0500
commitb026c18a1263f84cbed86018e3ba2d20e97b61d4 (patch)
tree85bcda30eb418450c48a4a7cd33c49f9dd7495df /wqflask/base
parent3a0ee1628b51ee34b7576ba63d9a05674d9d0760 (diff)
parentb7d3b90bb9a074200e440eaeb22b782053efc819 (diff)
downloadgenenetwork2-b026c18a1263f84cbed86018e3ba2d20e97b61d4.tar.gz
Temporarily commented out the line in trait.py doing the encoding until we figure out the real solution to that issue
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/trait.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index 4c3e790c..8e11c11d 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -6,6 +6,7 @@ import resource
import codecs
import requests
import random
+import urllib
from base import webqtlConfig
from base.webqtlCaseData import webqtlCaseData
@@ -463,6 +464,7 @@ def retrieve_trait_info(trait, dataset, get_qtl_info=False):
holder = trait_info[i]
# if isinstance(trait_info[i], basestring):
# holder = unicode(holder.strip(codecs.BOM_UTF8), 'utf-8', "ignore")
+
setattr(trait, field, holder)
if dataset.type == 'Publish':