diff options
author | Pjotr Prins | 2015-03-05 17:47:47 +0300 |
---|---|---|
committer | Pjotr Prins | 2015-03-05 17:47:47 +0300 |
commit | 3a7d9fd232200a5cd95563caf2f067328035dfd3 (patch) | |
tree | 736ce1d5b805803e73f2fb2a6d8d16cfecc055c7 | |
parent | 34b8f6bc739e99689f531eda22b30fb689bb38c9 (diff) | |
download | genenetwork2-3a7d9fd232200a5cd95563caf2f067328035dfd3.tar.gz |
Check command
-rw-r--r-- | wqflask/wqflask/my_pylmm/pyLMM/runlmm.py | 6 |
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") |