Skip to content

Commit

Permalink
Update metric_calc.R
Browse files Browse the repository at this point in the history
updating to use run_numbers from the input data frame
  • Loading branch information
jk-brown authored Apr 17, 2024
1 parent 0d3185b commit 1bd6e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/metric_calc.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ metric_calc <- function(x, metric) {
df <- as.data.frame(metric_result)

# producing run numbers
run_number <- 1:nrow(df)
run_number <- unique(x$run_number)

# Adding cols for run_number
df$run_number <- run_number
Expand Down

0 comments on commit 1bd6e7d

Please sign in to comment.