aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorPjotr Prins2015-03-13 11:50:43 +0300
committerPjotr Prins2015-03-13 11:50:43 +0300
commit08054314542485da15fc2d2c1903d844348a4fe3 (patch)
tree0fe2e3001e8778eb88acd22b28e23280580333ff /wqflask
parent7c7ace427c8dfa81d3448250d9697b4e00418d34 (diff)
downloadgenenetwork2-08054314542485da15fc2d2c1903d844348a4fe3.tar.gz
runlmm.py: remove extraneous conversion
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/my_pylmm/pyLMM/runlmm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py b/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py
index 16e88419..69a80411 100644
--- a/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py
+++ b/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py
@@ -98,7 +98,7 @@ if cmd == 'redis':
gnt = np.array(gn).T
Y,G = removeMissingPhenotypes(y,gnt,options.verbose)
print "G",G.shape,G
- ps, ts = gn2_load_redis('testrun','other',np.array(k),Y,G,options.testing)
+ ps, ts = gn2_load_redis('testrun','other',k,Y,G,options.testing)
print np.array(ps)
print round(ps[0],4)
assert(options.testing and round(ps[0],4)==0.7262)