diff options
author | zsloan | 2021-08-12 23:19:38 +0000 |
---|---|---|
committer | zsloan | 2021-08-12 23:19:38 +0000 |
commit | 810b2ace0a9cb2511cf0ef6f0c01f70a0ce11915 (patch) | |
tree | 55ff535ac8326fe14f7ebef1b886a79b7138ebad /wqflask | |
parent | 98683bd5cc809aa03e0bd58a67733498b4f56a9d (diff) | |
download | genenetwork2-810b2ace0a9cb2511cf0ef6f0c01f70a0ce11915.tar.gz |
Return empty list instead of None in get_study_samplelists
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/base/data_set.py | 2 |
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 |