Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in pb$tick(): #1

Open
haoqing12 opened this issue May 17, 2024 · 0 comments
Open

Error in pb$tick(): #1

haoqing12 opened this issue May 17, 2024 · 0 comments

Comments

@haoqing12
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant