aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
authorzsloan2019-06-07 13:08:47 -0500
committerzsloan2019-06-07 13:08:47 -0500
commit3659ceb0ee7058e41cd0b789558b07d7e8bf415e (patch)
tree50e99994bc343ddb881bb17878b18e2189d21368 /wqflask/utility
parent9e892146abeeeff5ef4d08f6773a2272fe752e0c (diff)
downloadgenenetwork2-3659ceb0ee7058e41cd0b789558b07d7e8bf415e.tar.gz
Global search and correlation results can handle null expression now
Diffstat (limited to 'wqflask/utility')
-rw-r--r--wqflask/utility/type_checking.py2
1 files changed, 1 insertions, 1 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: