Skip to content

Commit

Permalink
Add hardcoded database
Browse files Browse the repository at this point in the history
  • Loading branch information
SergiAguilo committed Jan 9, 2025
1 parent 6da330b commit 4d20d72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions beacon/connections/omopcdm/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
3 changes: 2 additions & 1 deletion beacon/permissions/datasets/public_datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ public_datasets:
- CINECA_dataset
- rd-connect_dataset
- coadread_tcga_pan_can_atlas_2018
- COVID_pop11_fin_2
- COVID_pop11_fin_2
- cdm

0 comments on commit 4d20d72

Please sign in to comment.