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

Scipy error when using process_kmer_to_graph.py script #102

Open
FarrahKhan1400 opened this issue Apr 1, 2022 · 0 comments
Open

Scipy error when using process_kmer_to_graph.py script #102

FarrahKhan1400 opened this issue Apr 1, 2022 · 0 comments

Comments

@FarrahKhan1400
Copy link

Hi Magdoll,

I ran Cogent at the beginning of this year with no issue.

I recently have recreated the environment and tried to use it and am having issues with the process_kmer_to_graph.py step.

When I run it this is the error I get:

File "/home/khnfar025/.conda/envs/anaCogent/lib/python3.7/site-packages/networkx-2.7.1-py3.7.egg/networkx/convert_matrix.py", line 1020, in to_scipy_sparse_matrix
G, nodelist=nodelist, dtype=dtype, weight=weight, format=format
File "/home/khnfar025/.conda/envs/anaCogent/lib/python3.7/site-packages/networkx-2.7.1-py3.7.egg/networkx/convert_matrix.py", line 921, in to_scipy_sparse_array
A = sp.sparse.coo_array((d, (r, c)), shape=(nlen, nlen), dtype=dtype)
AttributeError: module 'scipy.sparse' has no attribute 'coo_array'

This is the resource that I've found on the issue : pyg-team/pytorch_geometric#4378

To me it sounds like scipy version 1.8.0 is required for coo_array. Conda install currently only install version 1.7.3.

Is this something that can be fixed on your side in the install instructions? I have had difficulty having this resolved by the sys admin for the hpc that I use at my institution.

thanks for your consideration,
Farrah Khan

@FarrahKhan1400 FarrahKhan1400 changed the title Scipy error when using process_kmer Scipy error when using process_kmer_to_graph.py script Apr 1, 2022
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