Skip to content

Error in pb$tick(): #1

@haoqing12

Description

@haoqing12

Dear Developers:

I am encountering an issue with the GetFeatures function in the scProgram package, where I receive an error message indicating a problem with the progress bar implementation.

FeatureMatrix = GetFeatures(obj = obj, group.by = "cell_type", genenumber = 50, pct_exp = 0.1, mode = "fast")
Fast mode
Error in pb$tick():
! No more ticks.
Run rlang::last_trace() to see where the error occurred.

Following this, I ran rlang::last_trace() which provided the following backtrace:
<error/rlang_error>
Error in pb$tick():
! No more ticks.

Backtrace:

  1. └─scProgram::GetFeatures(...)
  2. └─scProgram::dist.JSD_2m_fast(t(as.matrix(genemat2)), (pseudo.comparemat_simple2))
  3. └─base::apply(...)
    
  4.   └─scProgram (local) FUN(...)
    
  5.     └─pb$tick()
    

Run rlang::last_trace(drop = FALSE) to see 1 hidden frame.

I am seeking assistance on how to resolve this or if there are any updates or patches available that I might have missed.

haoq

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions