aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2015-03-05 17:47:47 +0300
committerPjotr Prins2015-03-05 17:47:47 +0300
commit3a7d9fd232200a5cd95563caf2f067328035dfd3 (patch)
tree736ce1d5b805803e73f2fb2a6d8d16cfecc055c7
parent34b8f6bc739e99689f531eda22b30fb689bb38c9 (diff)
downloadgenenetwork2-3a7d9fd232200a5cd95563caf2f067328035dfd3.tar.gz
Check command
-rw-r--r--wqflask/wqflask/my_pylmm/pyLMM/runlmm.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py b/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py
index e7bb452f..ff53b4ea 100644
--- a/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py
+++ b/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py
@@ -55,6 +55,7 @@ if len(args) != 1:
cmd = args[0]
print "Command: ",cmd
+
if options.kinship:
K1 = []
print options.kinship
@@ -68,3 +69,8 @@ if options.kinship:
ns = np.genfromtxt(row[1:])
K1.append(ns) # <--- slow
K = np.array(K1)
+
+if cmd == 'parse':
+ pass
+else:
+ raise Exception("Unknown command")