diff options
Diffstat (limited to 'wqflask/base/data_set.py')
-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 4d75e7ee..49ece9dd 100644 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -757,6 +757,7 @@ class DataSet: # Postgres doesn't have that limit, so we can get rid of this after we transition chunk_size = 50 number_chunks = int(math.ceil(len(sample_ids) / chunk_size)) + cached_results = fetch_cached_results(self.name, self.type) if cached_results is None: trait_sample_data = [] @@ -814,7 +815,6 @@ class DataSet: cache_dataset_results( self.name, self.type, self.trait_data) - else: self.trait_data = cached_results |