scverse / scverse/scanpy

aga_compare_paths: KeyError: 'aga_groups' and KeyError: 'aga_groups_order_original'

Open
#110 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.6k
Forks
779
Avg merge
1d 4h
Merged PRs (30d)
27

Description

Hi,
I am following the example robustness.ipynb and I get the errors
KeyError: 'aga_groups' and KeyError: 'aga_groups_order_original'
when using the function aga_compare_paths in scanpy 0.4.4.

I read that aga_groups disappeared in version 0.3, but looks like aga_compare_paths is still using it?

Many thanks,
Maria

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with robustness.ipynb and the aga_compare_paths function in the scanpy 0.4.4 code. Trace where aga_groups and aga_groups_order_original are read, then reproduce the example to confirm the failure. Done means the example runs without either KeyError and the comparison produces its expected result.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
bioinformatics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.