hi,

the 'BiocParallel::bpiterate()' method shows progress through the following call:

setMethod("bpiterate", c("ANY", "ANY", "SerialParam"),
    function(ITER, FUN, ..., REDUCE, init, reduce.in.order = FALSE,
        BPPARAM=bpparam())
{
[...]
    progress <- .progress(active=bpprogressbar(BPPARAM), iterate=TRUE)
[...]
}

where the argument 'iterate=TRUE' when calling '.progress()' leads this function to show progress by a message

"iteration: x"

where 'x' is a number from 0 to 'ntasks' within its code. i'd like to know whether there is a particular reason why 'bpiterate' should show progress in such a way and whether it would be possible to parametrize it to show progress in the same way other 'BiocParallel' methods do, such as 'bplapply()', 'bpvec()', etc..., i.e., doing

|==========                        | X%


thanks!!!

robert.

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to