Skip to content

Commit

Permalink
fix: pass pipette_vol_compat to dilute
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiAragaki committed May 6, 2024
1 parent 953a1f1 commit 8c9620c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion R/qp_dilute.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ qp_dilute.data.frame <- function(x,
target_conc <- min(samples[[conc_col_name]], na.rm = TRUE)
}

dils <- dilute(x[[conc_col_name]], target_conc, target_vol)
dils <- dilute(
x[[conc_col_name]],
target_conc, target_vol,
round_for_pipettes = pipette_vol_compat
)
x |>
dplyr::bind_cols(dils) |>
dplyr::mutate(.target_conc = target_conc, .target_vol = target_vol)
Expand Down

0 comments on commit 8c9620c

Please sign in to comment.