Skip to content

Commit

Permalink
fix: limit archive nds selection method to finished tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Apr 28, 2024
1 parent 5df6156 commit 9bf6612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ArchiveAsync.R
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ ArchiveAsync = R6Class("ArchiveAsync",
#'
#' @return [data.table::data.table()]
nds_selection = function(n_select = 1, ref_point = NULL) {
tab = self$data
tab = self$finished_data
assert_int(n_select, lower = 1L, upper = nrow(tab))

points = t(as.matrix(tab[, self$cols_y, with = FALSE]))
Expand Down

0 comments on commit 9bf6612

Please sign in to comment.