diff options
author | Alexander_Kabui | 2022-09-07 20:49:46 +0300 |
---|---|---|
committer | Alexander_Kabui | 2022-09-07 20:53:07 +0300 |
commit | 551fd9867b924b6cee5f9030a421bc22dd87c2cd (patch) | |
tree | ada4fc75b8adf53687ddcdf9f4204b37de7dc18a | |
parent | d6cd1e457e059eb7aa2b0a93b481e643fab2cfd6 (diff) | |
download | genenetwork2-551fd9867b924b6cee5f9030a421bc22dd87c2cd.tar.gz |
catch general errors this will recreate the file
-rw-r--r-- | wqflask/base/data_set.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index 211c6752..72906515 100644 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -1321,5 +1321,6 @@ def fetch_cached_results(dataset_name: str, dataset_type: str, samplelist: List) with open(file_path, "r") as file_handler: return json.load(file_handler) - except FileNotFoundError: + + except Exception: pass |