diff --git a/src/resdk/tables/base.py b/src/resdk/tables/base.py index c9422aea..23ef7aa2 100644 --- a/src/resdk/tables/base.py +++ b/src/resdk/tables/base.py @@ -336,7 +336,7 @@ def _get_annotations(self) -> pd.DataFrame: # Make one query for all values instead of one per sample avs = self.resolwe.annotation_value.filter( entity__collection=self.collection.id - ) + ).iterate() sample_data = defaultdict(dict) sample_dtypes = defaultdict(dict)