aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2019-11-05 13:28:22 -0600
committerzsloan2019-11-05 13:28:22 -0600
commite056adb60113e5ec2cbb8b25386a68db2b2fda7a (patch)
treef1e0a0f8f53b181995e8be9d4ee0d550699b2c39
parent1880d9333875d0fc80a5fdb15c77c5cf11bb04b9 (diff)
downloadgenenetwork2-e056adb60113e5ec2cbb8b25386a68db2b2fda7a.tar.gz
Fixed error with BNW when trait names were numbers
-rw-r--r--wqflask/wqflask/external_tools/send_to_bnw.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/external_tools/send_to_bnw.py b/wqflask/wqflask/external_tools/send_to_bnw.py
index e8f168f4..68efd10d 100644
--- a/wqflask/wqflask/external_tools/send_to_bnw.py
+++ b/wqflask/wqflask/external_tools/send_to_bnw.py
@@ -54,7 +54,7 @@ class SendToBNW(object):
trait_vals.append(this_sample_data[sample].value)
values_list.append(trait_vals)
- self.form_value += "_" + this_trait.name + ","
+ self.form_value += "_" + str(this_trait.name) + ","
values_list = zip(*values_list)
self.form_value = self.form_value[:-1]