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

Backport PR #2566 on branch 1.9.x (Switch to igraph name) #2568

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pip install 'scanpy[leiden]'
```

The extra `[leiden]` installs two packages that are needed for popular
parts of scanpy but aren't requirements: [python-igraph] [^cite_csardi06] and [leiden] [^cite_traag18].
parts of scanpy but aren't requirements: [igraph] [^cite_csardi06] and [leiden] [^cite_traag18].

(dev-install-instructions)=

Expand Down Expand Up @@ -83,7 +83,7 @@ pip install --user scanpy

- `brew install igraph`

- If python-igraph still fails to install, see the question on [compiling igraph].
- If igraph still fails to install, see the question on [compiling igraph].
Alternatively consider installing gcc via `brew install gcc --without-multilib`
and exporting the required variables:

Expand Down Expand Up @@ -125,5 +125,5 @@ The whole process takes just a couple of minutes.
[leiden]: https://leidenalg.readthedocs.io
[miniconda]: http://conda.pydata.org/miniconda.html
[on github]: https://github.com/scverse/scanpy
[python-igraph]: http://igraph.org/python/
[igraph]: https://python.igraph.org/en/stable/
[unofficial binaries]: https://www.lfd.uci.edu/~gohlke/pythonlibs/
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ dev = [
"docutils",
]
# Algorithms
paga = ["python-igraph"]
louvain = ["python-igraph", "louvain>=0.6,!=0.6.2"] # Louvain community detection
leiden = ["python-igraph", "leidenalg"] # Leiden community detection
paga = ["igraph"]
louvain = ["igraph", "louvain>=0.6,!=0.6.2"] # Louvain community detection
leiden = ["igraph>=0.10", "leidenalg>=0.9"] # Leiden community detection
bbknn = ["bbknn"] # Batch balanced KNN (batch correction)
magic = ["magic-impute>=2.0"] # MAGIC imputation method
skmisc = ["scikit-misc>=0.1.3"] # highly_variable_genes method 'seurat_v3'
Expand Down
2 changes: 1 addition & 1 deletion scanpy/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def format(self, record: logging.LogRecord):
'pandas',
('sklearn', 'scikit-learn'),
'statsmodels',
('igraph', 'python-igraph'),
'igraph',
'louvain',
'leidenalg',
'pynndescent',
Expand Down
2 changes: 1 addition & 1 deletion scanpy/testing/_pytest/marks.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
louvain="louvain",
skmisc="scikit-misc",
fa2="fa2",
igraph="python-igraph",
igraph="igraph",
dask="dask",
zarr="zarr",
zappy="zappy",
Expand Down
Loading