diff --git a/beacon/connections/omopcdm/datasets.py b/beacon/connections/omopcdm/datasets.py index 09bfe31..a214809 100644 --- a/beacon/connections/omopcdm/datasets.py +++ b/beacon/connections/omopcdm/datasets.py @@ -17,9 +17,8 @@ def get_full_datasets(self, entry_id: Optional[str], qparams: RequestParams): @log_with_args(level) def get_list_of_datasets(self): - datasets = get_full_datasets( None, None) - beacon_datasets = [ r for r in datasets ] - return beacon_datasets + datasets, count, schema = get_full_datasets(self, None, None) + return datasets @log_with_args(level) def get_dataset_with_id(self, entry_id: Optional[str], qparams: RequestParams): diff --git a/beacon/permissions/datasets/public_datasets.yml b/beacon/permissions/datasets/public_datasets.yml index 8d2520d..0e4e220 100644 --- a/beacon/permissions/datasets/public_datasets.yml +++ b/beacon/permissions/datasets/public_datasets.yml @@ -3,4 +3,5 @@ public_datasets: - CINECA_dataset - rd-connect_dataset - coadread_tcga_pan_can_atlas_2018 -- COVID_pop11_fin_2 \ No newline at end of file +- COVID_pop11_fin_2 +- cdm \ No newline at end of file