From ceb77fe45192acc3b6c5d76b93e75cf0e9009413 Mon Sep 17 00:00:00 2001 From: Benjamin Pritchard Date: Sat, 6 Jan 2024 16:49:35 -0500 Subject: [PATCH] Use record type-specific get functions for datasets --- qcportal/qcportal/dataset_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcportal/qcportal/dataset_models.py b/qcportal/qcportal/dataset_models.py index 97c52fff3..8af7d745c 100644 --- a/qcportal/qcportal/dataset_models.py +++ b/qcportal/qcportal/dataset_models.py @@ -721,7 +721,7 @@ def _internal_fetch_records( ) record_ids = [x[2] for x in record_info] - records = self._client.get_records(record_ids, include=include) + records = self._client._get_records_by_type(self._record_type, record_ids, include=include) # Update the locally-stored records for rec_item, rec in zip(record_info, records):