Skip to content

Commit

Permalink
Update new_project_from_json.R
Browse files Browse the repository at this point in the history
  • Loading branch information
cconrad8 authored Oct 21, 2024
1 parent e4330ed commit 6c8f776
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion new_project/new_project_from_json.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ setup_from_config <- function(config_file, skip_register = register_check) {
FOCUS <- paste(unlist(config$diseaseFocus), collapse = ",")
MANIFESTATIONS <- paste(unlist(config$diseaseManifestations), collapse = ", ")
GRANT_DOI <- paste(config$grantDOI, collapse = ", ")
GRANT_START <- config$grantStartDate
GRANT_END <- config$grantEndDate
EMBARGO_END <- config$embargoEndDate

# Other governance
INITPUBLICVIEW <- config$governance$initPublicView
Expand Down Expand Up @@ -77,7 +80,10 @@ setup_from_config <- function(config_file, skip_register = register_check) {
initiative = INITIATIVE,
publicview = INITPUBLICVIEW,
datasets = DATASETS,
other_resources = OTHER_RESOURCES
other_resources = OTHER_RESOURCES,
grant_start_date=GRANT_START,
grant_end_date=GRANT_END,
embargo_end_date=EMBARGO_END
)

PROJECT_ID <- created_project$properties$id
Expand Down

0 comments on commit 6c8f776

Please sign in to comment.