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

This might be caused by recursion over very long tuples or argument lists. #15

Open
RuiXiang09 opened this issue Jan 14, 2025 · 2 comments

Comments

@RuiXiang09
Copy link

Hello, I have a question about CellScopes.jl. I am using Julia 1.9, and when running the function hd = cs.normalize_object(hd; scale_factor = 10000), I encountered the following issue:

SparseArrays.SparseVector{Float64, Int64}, SparseArrays.SparseVector{Float64, Int64}, SparseArrays.SparseVector{Float64, Int64}, SparseArrays.SparseVector{Float64, Int64}, SparseArrays.SparseVector{Float64, Int64}, SparseArrays.SparseVector{Float64, Int64}, SparseArrays.SparseVector{Float64, Int64}).

This might be caused by recursion over very long tuples or argument lists.

It seems to be stuck in a loop. Could you please provide me with some suggestions? Thank you very much!

@HaojiaWu
Copy link
Owner

Can you try reinstalling CellScopes in Julia 1.10.4 to see if that solves the error? I primarily maintain the development version now, as older versions have numerous dependency issues reported by users likely due to Julia's rapid update cycle. I am planning to release CellScopes V2 and merge it into the main branch in two months or so. For now, you can try the following (assuming you are on a Linux server):

In Terminal:

wget https://julialang-s3.julialang.org/bin/linux/x64/1.10/julia-1.10.4-linux-x86_64.tar.gz
tar xvf julia-1.10.4-linux-x86_64.tar.gz
# export julia to your path

In Julia:

using Pkg
Pkg.add(PackageSpec(url="https://github.com/bicycle1885/Leiden.jl"))
Pkg.add(PackageSpec(url="https://github.com/HaojiaWu/CellScopes.jl", rev="dev"))

@RuiXiang09
Copy link
Author

Thank you for your reply. After updating to the new version of the package, my issue has been resolved. I look forward to using Cellscope V2.

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