"obs_names" error in snapatac2.tl.add_cor_scores
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 323
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
Hi and thanks for developing this very useful tool!
when i tried to use snapatac2.tl.add_cor_scores(network, peak_mat= data) it gives me error of "'NoneType' object has no attribute 'obs_names'"
data:Anndata scATAC processed with snapatac2,
the previous step of the network works fine. created nodes and edges.
any idea how to workaround that?
snapatac2: i used pip install snapatac2[all] for installation.
many thanks in advance.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the snapatac2.tl.add_cor_scores(network, peak_mat=data) call with the described processed AnnData input and capture the full traceback. Inspect the add_cor_scores entry point and its handling of network and peak_mat, then verify that the call no longer accesses obs_names on None and produces correlation scores.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100