aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorZachary Sloan2013-07-30 17:07:16 -0500
committerZachary Sloan2013-07-30 17:07:16 -0500
commit7eb7c55b3d0effdfcd359f12447f99568407f086 (patch)
tree838222d819d3cb4c79778c8f28f4269cb464fc69 /wqflask
parent930d8b0cf0c7bf88fee1de95852dfe883418a494 (diff)
downloadgenenetwork2-7eb7c55b3d0effdfcd359f12447f99568407f086.tar.gz
Just added some print statements to debug an issue with LMM code
Also added some to notes
Diffstat (limited to 'wqflask')
-rwxr-xr-xwqflask/base/data_set.py1
-rw-r--r--wqflask/wqflask/my_pylmm/pyLMM/lmm.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 188a94a2..ffc77299 100755
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -400,7 +400,6 @@ class DataSet(object):
# return self._group
-
def retrieve_other_names(self):
"""
If the data set name parameter is not found in the 'Name' field of the data set table,
diff --git a/wqflask/wqflask/my_pylmm/pyLMM/lmm.py b/wqflask/wqflask/my_pylmm/pyLMM/lmm.py
index 446683a4..bca90486 100644
--- a/wqflask/wqflask/my_pylmm/pyLMM/lmm.py
+++ b/wqflask/wqflask/my_pylmm/pyLMM/lmm.py
@@ -462,6 +462,7 @@ class LMM:
x = True - np.isnan(Y)
#pdb.set_trace()
if not x.sum() == len(Y):
+ print("Removing %d missing values from Y\n" % ((True - x).sum()))
if self.verbose: sys.stderr.write("Removing %d missing values from Y\n" % ((True - x).sum()))
Y = Y[x]
K = K[x,:][:,x]