diff options
author | Sam Ockman | 2012-06-25 00:29:16 -0400 |
---|---|---|
committer | Sam Ockman | 2012-06-25 00:29:16 -0400 |
commit | 9ab5aa849d344ab49f48b6629eebf95177a6b530 (patch) | |
tree | 3fc35d0f0b8aa5ccfcdfdede2686a3aaf8dcfa5e | |
parent | 5fdbe22fdec6f806984670e9251b29450803fd7d (diff) | |
download | genenetwork2-9ab5aa849d344ab49f48b6629eebf95177a6b530.tar.gz |
Outlier support added
-rwxr-xr-x | wqflask/wqflask/show_trait/DataEditingPage.py | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/wqflask/wqflask/show_trait/DataEditingPage.py b/wqflask/wqflask/show_trait/DataEditingPage.py index cbda3e41..39aa19ae 100755 --- a/wqflask/wqflask/show_trait/DataEditingPage.py +++ b/wqflask/wqflask/show_trait/DataEditingPage.py @@ -1798,22 +1798,24 @@ class DataEditingPage(templatePage): if thisval == 'x': traitVar = '' #ZS: Used to be 0, but it doesn't seem like a good idea for values of 0 to *always* be at the bottom when you sort; it makes more sense to put "nothing" - className = 'fs13 b1 c222 ' - valueClassName = 'fs13 b1 c222 valueField ' - rowClassName = 'novalue ' + #className = 'fs13 b1 c222 ' + #valueClassName = 'fs13 b1 c222 valueField ' + #rowClassName = 'novalue ' else: if (thisval >= upperBound) or (thisval <= lowerBound): - className = 'fs13 b1 c222 outlier ' - valueClassName = 'fs13 b1 c222 valueField ' - rowClassName = 'outlier' + strain['outlier'] = True + #className = 'fs13 b1 c222 outlier ' + #valueClassName = 'fs13 b1 c222 valueField ' + #rowClassName = 'outlier' else: - className = 'fs13 b1 c222 ' - valueClassName = 'fs13 b1 c222 valueField ' - rowClassName = ' ' - - if varianceDataPage: - varClassName = valueClassName + str(traitVar) - valueClassName += str(traitVal) + strain['outlier'] = False + #className = 'fs13 b1 c222 ' + #valueClassName = 'fs13 b1 c222 valueField ' + #rowClassName = ' ' + # + #if varianceDataPage: + # varClassName = valueClassName + str(traitVar) + #valueClassName += str(traitVal) if strainNameOrig == strainName: if other_strainsExist and strainNameOrig in (fd.parlist + fd.f1list): |