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

viz gives error #204

Open
NextGenSeek opened this issue Oct 4, 2024 · 1 comment
Open

viz gives error #204

NextGenSeek opened this issue Oct 4, 2024 · 1 comment

Comments

@NextGenSeek
Copy link

NextGenSeek commented Oct 4, 2024

  • Spladder version: 3.0.5
  • Python version: Python 3.10.13
  • Operating System: Mac

Description

After running spladder build and spladder test without errors, I used spladder viz and ran into an error. I tried different viz options, but same error, see below. Could you please help me solving this issue?

What I Did

spladder viz --track coverage file1.bam, file2.bam --outdir direction
spladder viz --track splicegraph gene1 --outdir direction

Traceback (most recent call last):
File "/path/to/anaconda3/lib/python3.10/site-packages/scipy/init.py", line 137, in getattr
return globals()[name]
KeyError: 'array'

During handling of the above exception, another exception occurred:
File "/path/to/anaconda3/bin/spladder", line 8, in
sys.exit(main())
File "/path/to/anaconda3/lib/python3.10/site-packages/spladder/spladder.py", line 229, in main
options.func(options)
File "/path/to/anaconda3/lib/python3.10/site-packages/spladder/spladder_viz.py", line 210, in spladder_viz
all_gene_names = get_gene_names(options.outdir, options.confidence, options.validate_sg, options.verbose)
File "/path/to/anaconda3/lib/python3.10/site-packages/spladder/helpers_viz.py", line 37, in get_gene_names
gene_names = sp.array([x.name.split('.')[0] for x in tmp_genes])
File "/path/to/anaconda3/lib/python3.10/site-packages/scipy/init.py", line 139, in getattr
raise AttributeError(
AttributeError: Module 'scipy' has no attribute 'array'

akahles added a commit that referenced this issue Oct 9, 2024
@akahles
Copy link
Member

akahles commented Oct 9, 2024

Thanks for reporting. This was caused by an old scipy dependency. I fixed it in the development branch. Should be available with the next release in the coming days.

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