From 3a7d9fd232200a5cd95563caf2f067328035dfd3 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 5 Mar 2015 17:47:47 +0300 Subject: Check command --- wqflask/wqflask/my_pylmm/pyLMM/runlmm.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wqflask') 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") -- cgit v1.2.3