diff options
author | Zachary Sloan | 2013-07-30 17:07:16 -0500 |
---|---|---|
committer | Zachary Sloan | 2013-07-30 17:07:16 -0500 |
commit | 7eb7c55b3d0effdfcd359f12447f99568407f086 (patch) | |
tree | 838222d819d3cb4c79778c8f28f4269cb464fc69 /wqflask | |
parent | 930d8b0cf0c7bf88fee1de95852dfe883418a494 (diff) | |
download | genenetwork2-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-x | wqflask/base/data_set.py | 1 | ||||
-rw-r--r-- | wqflask/wqflask/my_pylmm/pyLMM/lmm.py | 1 |
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] |