Skip to content

Commit

Permalink
refactor: task in log message
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Feb 4, 2025
1 parent ad23bc6 commit 2c2db06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/worker.R
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@ learner_predict = function(learner, task, row_ids = NULL) {

# subset to test set w/o cloning
if (!is.null(row_ids)) {
lg$debug("Subsetting task '%s' to %i rows",
task$id, length(row_ids), task = task$clone(), row_ids = row_ids)
lg$debug("Subsetting task '%s' to %i rows", task$id, length(row_ids))

task_private = get_private(task)
prev_use = task_private$.row_roles$use
Expand Down

0 comments on commit 2c2db06

Please sign in to comment.