Fix create_participants_files.R to handle numeric PIDs
parent
9593667f38
commit
5892b6d838
|
@ -73,7 +73,7 @@ participants %>%
|
|||
file_lines <-readLines("./config.yaml")
|
||||
for (i in 1:length(file_lines)){
|
||||
if(startsWith(file_lines[i], "PIDS:")){
|
||||
file_lines[i] <- paste0("PIDS: [", paste(participants$pid, collapse = ", "), "]")
|
||||
file_lines[i] <- paste0("PIDS: ['", paste(participants$pid, collapse = "', '"), "']")
|
||||
}
|
||||
}
|
||||
writeLines(file_lines, con = "./config.yaml")
|
Loading…
Reference in New Issue