From c35170ba9fbaa2f7d45614f134f395fb913fa5af Mon Sep 17 00:00:00 2001 From: lakikowolfe Date: Tue, 9 Apr 2024 14:09:47 -0700 Subject: [PATCH] add upload file annotations param to model_submit() --- test/smoke_test_dca_config.json | 3 +- test/test_submit_upload_file_annotations.json | 35 +++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 test/test_submit_upload_file_annotations.json diff --git a/test/smoke_test_dca_config.json b/test/smoke_test_dca_config.json index ac12b18..28b6fe7 100644 --- a/test/smoke_test_dca_config.json +++ b/test/smoke_test_dca_config.json @@ -28,7 +28,8 @@ "use_schema_labels": true, "table_manipulation": "replace", "manifest_record_type": "table_and_file", - "hide_blanks": false + "hide_blanks": false, + "upload_file_annotations":true } } } diff --git a/test/test_submit_upload_file_annotations.json b/test/test_submit_upload_file_annotations.json new file mode 100644 index 0000000..54651cc --- /dev/null +++ b/test/test_submit_upload_file_annotations.json @@ -0,0 +1,35 @@ +{ + "dcc": { + "name":"DCA Test Submit Upload File Annotation", + "synapse_asset_view":"syn55407979", + "data_model_url":"https://raw.githubusercontent.com/Sage-Bionetworks/data-models/main/example.model.jsonld", + "data_model_info": "", + "template_menu_config_file":"https://raw.githubusercontent.com/Sage-Bionetworks/data-models/main/dca-template-config.json", + "logo_location":"dcc/demo/Logo_Sage_Logomark.png", + "logo_link":"https://synapse.org", + "dcc_help_link": "", + "portal_help_link": "" + }, + "dca": { + "use_compliance_dashboard":true, + "primary_col":"#2a668d", + "secondary_col":"#184e71", + "sidebar_col":"#191919" + }, + "schematic": { + "manifest_generate": { + "output_format":"google_sheet", + "use_annotations":false + }, + "model_validate": { + "restrict_rules":false + }, + "model_submit": { + "use_schema_labels":true, + "table_manipulation":"replace", + "manifest_record_type":"table_and_file", + "hide_blanks":false, + "upload_file_annotations":false + } + } + } \ No newline at end of file