Skip to content

Commit

Permalink
Merge pull request #30 from Infectious-Disease-Modeling-Hubs/linear-p…
Browse files Browse the repository at this point in the history
…ool_fixes

fix check for consistent output_type_ids
  • Loading branch information
lshandross authored Aug 21, 2023
2 parents 5f07beb + bb7212a commit bfc1317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/validate_output_type_ids.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ validate_output_type_ids <- function(model_outputs, task_id_cols) {
same_output_id <- model_outputs |>
dplyr::filter(output_type %in% c("cdf", "pmf", "quantile")) |>
dplyr::group_by(model_id, dplyr::across(dplyr::all_of(task_id_cols)), output_type) |>
dplyr::summarize(output_type_id_list=list(output_type_id)) |>
dplyr::summarize(output_type_id_list=list(sort(output_type_id))) |>
dplyr::ungroup() |>
dplyr::group_split(dplyr::across(dplyr::all_of(task_id_cols)), output_type) |>
purrr::map(.f = function(split_outputs) {
Expand Down

0 comments on commit bfc1317

Please sign in to comment.