aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorPjotr Prins2015-04-19 09:46:15 +0200
committerPjotr Prins2015-04-19 09:46:15 +0200
commit3736bd0044ddee68180a06809847af7542951743 (patch)
tree58f8418dc047861ad99375ba9c30c64b9635d835 /wqflask
parent0929b16a5183538811260aef5c37f7406c302026 (diff)
downloadgenenetwork2-3736bd0044ddee68180a06809847af7542951743.tar.gz
INSTALL info
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/my_pylmm/pyLMM/lmm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/my_pylmm/pyLMM/lmm.py b/wqflask/wqflask/my_pylmm/pyLMM/lmm.py
index b2067b27..98bbead8 100644
--- a/wqflask/wqflask/my_pylmm/pyLMM/lmm.py
+++ b/wqflask/wqflask/my_pylmm/pyLMM/lmm.py
@@ -856,7 +856,7 @@ def gwas_with_redis(key,species,new_code=True):
print(key)
v = params[key]
if v is not None:
- v = np.array(v)
+ v = np.array(v).astype(np.float)
return v
def narrayT(key):
@@ -969,6 +969,6 @@ if __name__ == '__main__':
if has_gn2:
gn2_main()
else:
- print("Run from runlmm.py instead")
+ fatal("Run from runlmm.py instead")