aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2019-06-07 13:08:47 -0500
committerzsloan2019-06-07 13:08:47 -0500
commit3659ceb0ee7058e41cd0b789558b07d7e8bf415e (patch)
tree50e99994bc343ddb881bb17878b18e2189d21368 /wqflask
parent9e892146abeeeff5ef4d08f6773a2272fe752e0c (diff)
downloadgenenetwork2-3659ceb0ee7058e41cd0b789558b07d7e8bf415e.tar.gz
Global search and correlation results can handle null expression now
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/utility/type_checking.py2
-rw-r--r--wqflask/wqflask/correlation/show_corr_results.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/utility/type_checking.py b/wqflask/utility/type_checking.py
index 220e5f62..f15b17e2 100644
--- a/wqflask/utility/type_checking.py
+++ b/wqflask/utility/type_checking.py
@@ -27,7 +27,7 @@ def get_float(vars,name,default=None):
if name in vars:
if is_float(vars[name]):
return float(vars[name])
- return None
+ return default
def get_int(vars,name,default=None):
if name in vars:
diff --git a/wqflask/wqflask/correlation/show_corr_results.py b/wqflask/wqflask/correlation/show_corr_results.py
index 1aa7945d..6e9abcd6 100644
--- a/wqflask/wqflask/correlation/show_corr_results.py
+++ b/wqflask/wqflask/correlation/show_corr_results.py
@@ -83,7 +83,7 @@ class CorrelationResults(object):
assert('corr_sample_method' in start_vars)
assert('corr_samples_group' in start_vars)
assert('corr_dataset' in start_vars)
- assert('min_expr' in start_vars)
+ #assert('min_expr' in start_vars)
assert('corr_return_results' in start_vars)
if 'loc_chr' in start_vars:
assert('min_loc_mb' in start_vars)