From 408b85fbc2c05c5dee6f3643b0b7adb993a18a2b Mon Sep 17 00:00:00 2001 From: Lauren Biggers Date: Mon, 14 Nov 2022 10:01:02 -0600 Subject: [PATCH] [DC-2692] adding updated parameter to script --- data_steward/tools/create_synthetic.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data_steward/tools/create_synthetic.py b/data_steward/tools/create_synthetic.py index 36d7242ce1..ff6806584f 100644 --- a/data_steward/tools/create_synthetic.py +++ b/data_steward/tools/create_synthetic.py @@ -255,11 +255,14 @@ def create_tier(project_id: str, input_dataset: str, release_tag: str, LOGGER.info("Done sleeping after copy") # 1. add mapping tables + # EHR consent table is not added because we are not generating + # synthetic EHR data. There will not be any to map. for domain_table in combine_consts.DOMAIN_TABLES: LOGGER.info(f'Mapping {domain_table}...') generate_combined_mapping_tables(bq_client, domain_table, datasets[consts.STAGING], '', - datasets[consts.STAGING]) + datasets[consts.STAGING], + datasets[consts.SANDBOX]) if domain_table != 'survey_conduct': _update_domain_table_id(