aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/data_set.py
diff options
context:
space:
mode:
authorzsloan2021-08-12 23:19:38 +0000
committerzsloan2021-08-12 23:19:38 +0000
commit810b2ace0a9cb2511cf0ef6f0c01f70a0ce11915 (patch)
tree55ff535ac8326fe14f7ebef1b886a79b7138ebad /wqflask/base/data_set.py
parent98683bd5cc809aa03e0bd58a67733498b4f56a9d (diff)
downloadgenenetwork2-810b2ace0a9cb2511cf0ef6f0c01f70a0ce11915.tar.gz
Return empty list instead of None in get_study_samplelists
Diffstat (limited to 'wqflask/base/data_set.py')
-rw-r--r--wqflask/base/data_set.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 1042e1bd..0ea61faa 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -403,7 +403,7 @@ class DatasetGroup:
try:
f = open(study_sample_file)
except:
- return None
+ return []
study_samples = json.load(f)
return study_samples