Skip to content

Commit

Permalink
Fix translation
Browse files Browse the repository at this point in the history
  • Loading branch information
anngvu committed Dec 5, 2023
1 parent b5b50ee commit 6e0f46e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion new_project/new_project_from_json.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ setup_from_config <- function(config_file) {
command <- paste0('jq \'. += { "studyId" : "', PROJECT_ID, '" }\' ', config_file, ' > tmp.json && mv tmp.json ' , config_file)
system(command)

# Register
# Register with some translations
config$studyLeads <- config$PI
config$studyFileviewId <- FILEVIEW_ID
config$studyName <- config$name
config$institutions <- config$institution
config$manifestation <- config$diseaseManifestation
nfportalutils::register_study(id = PROJECT_ID,
study_meta = config,
summary = SUMMARY,
Expand Down

0 comments on commit 6e0f46e

Please sign in to comment.