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

seurat integration investigation #198

Open
sjspielman opened this issue Dec 7, 2022 · 1 comment
Open

seurat integration investigation #198

sjspielman opened this issue Dec 7, 2022 · 1 comment

Comments

@sjspielman
Copy link
Member

I'm reviving this comment for (optional, mostly for curiosity) discussion: #77 (comment)

...because I have now encountered the pseudo-error (since execution doesn't actually stop!) Error in x$.self$finalize() : attempt to apply non-function in a whole other context that might be useful for us to know. When doing some unit tests over in AlexsLemonade/scpcaTools#157, I encountered this error message when running expect_warning() and not saving the object within. In other words:

  • expect_warning( run_thing() ) ---> error
  • expect_warning( result <- run_thing() ) ---> no error

So, I'm going to say that Seurat is doing some kind of analogous operation internally, not capturing output that doesn't matter, and we are seeing the resulting error. Notably I have done 0 spelunking to back this theory up.

@jashapiro
Copy link
Member

Curiousity: what happens when you do

expect_warning({
  result <- run_thing()
  result
})

or

expect_warning({
  result <- run_thing()
  result@slot
})

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

2 participants