From 204805157912aebb92967241850453f07729e2f6 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Wed, 18 Mar 2015 12:00:01 +0300 Subject: Warning to stderr --- wqflask/wqflask/my_pylmm/pyLMM/lmm.py | 2 +- wqflask/wqflask/my_pylmm/pyLMM/lmm2.py | 2 +- 2 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 5182e73c..66c952aa 100644 --- a/wqflask/wqflask/my_pylmm/pyLMM/lmm.py +++ b/wqflask/wqflask/my_pylmm/pyLMM/lmm.py @@ -59,9 +59,9 @@ try: from wqflask.my_pylmm.pyLMM import chunks from gn2 import uses except ImportError: - print("WARNING: Standalone version missing the Genenetwork2 environment\n") has_gn2=False from standalone import uses + sys.stderr.write("WARNING: LMM standalone version missing the Genenetwork2 environment\n") pass #np.seterr('raise') diff --git a/wqflask/wqflask/my_pylmm/pyLMM/lmm2.py b/wqflask/wqflask/my_pylmm/pyLMM/lmm2.py index 5b93ae0d..aa6b473d 100644 --- a/wqflask/wqflask/my_pylmm/pyLMM/lmm2.py +++ b/wqflask/wqflask/my_pylmm/pyLMM/lmm2.py @@ -29,7 +29,7 @@ try: from wqflask.my_pylmm.pyLMM import chunks from gn2 import uses except ImportError: - print("WARNING: Standalone version missing the Genenetwork2 environment\n") + sys.stderr.write("WARNING: LMM2 standalone version missing the Genenetwork2 environment\n") has_gn2=False from standalone import uses pass -- cgit v1.2.3