Skip to content

Commit

Permalink
multiqc: remove duplicate fields (fixes #96)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdiakumis committed Sep 20, 2023
1 parent e90eb6e commit cc82391
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/multiqc.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ multiqc_tidy_json <- function(j) {
return(dracarys::multiqc_parse_raw(p))
}
d <- d |>
# get rid of duplicated elements - see umccr/dracarys#96
purrr::map(\(x) {
x[which(duplicated(names(x)))] <- NULL
x
}) |>
dplyr::bind_rows(.id = "umccr_id") |>
dplyr::mutate(
config_creation_date = cdate,
Expand Down

0 comments on commit cc82391

Please sign in to comment.