-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
when downloading multiple trials in a folder
get_trial_data()
Error in rbind(deparse.level, ...) :
numbers of columns of arguments do not match
The code below seems to solve the problem.
qbms.R
if (
qbms_globals$config$engine == "breedbase" &&
qbms_globals$config$brapi_ver == "v1"
) {
study_header <- study_data[1, ]
study_data <- study_data[-1, ]
} else if (qbms_globals$config$brapi_ver == "v1") {
study_header <- c(
study_result$headerRow,
study_result$observationVariableNames
)
} else if (qbms_globals$config$brapi_ver == "v2") {
study_header <- c(
study_result$headerRow,
study_result$observationVariables$observationVariableName
)
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels