Skip to content

Commit

Permalink
Fix failing CI (#1099)
Browse files Browse the repository at this point in the history
* Run pre-commit hooks.
* Pin `matplotlib` to before 3.7.2.
* Remove link check from CI.
  • Loading branch information
WeilerP authored Jul 19, 2023
1 parent e0f46cd commit 5aa29a3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
9 changes: 6 additions & 3 deletions docs/about/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,14 @@ arrange cells in a :func:`circular embedding <cellrank.pl.circular_projection>`
:func:`cluster expression trends <cellrank.pl.cluster_trends>`. See our :doc:`tutorials <../notebooks/tutorials/index>` to learn more.

Scalability
~~~~~~~~
~~~~~~~~~~~
All CellRank kernels yield sparse transition matrices :math:`T`. Further, the :class:`cellrank.estimators.GPCCA`
estimator exploits sparsity in all major computations. Sparsity allows CellRank to scale to millions of cells.
estimator exploits sparsity in all major computations. Sparsity allows CellRank to scale to millions of cells.

For example, when computing :meth:`fate probabilities <cellrank.estimators.GPCCA.compute_fate_probabilities>`, we transform the matrix inversion problem into a set of linear systems, which we solve in parallel using the sparsity-optimized `GMRES`_ algorithm, implemented efficiently in `PETSc`_. We use similar tricks to infer macrostates of cellular dyanmics via sparsity-optimized partial real Schur decompositions (implemented under the hood via `pyGPCCA`_ and `SLEPc`_).
For example, when computing :meth:`fate probabilities <cellrank.estimators.GPCCA.compute_fate_probabilities>`, we transform the matrix
inversion problem into a set of linear systems, which we solve in parallel using the sparsity-optimized `GMRES`_ algorithm, implemented
efficiently in `PETSc`_. We use similar tricks to infer macrostates of cellular dyanmics via sparsity-optimized partial real Schur
decompositions (implemented under the hood via `pyGPCCA`_ and `SLEPc`_).

Why is it called "CellRank"?
----------------------------
Expand Down
12 changes: 10 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,20 @@

linkcheck_ignore = [
# 403 Client Error: Forbidden for url
r"https://doi.org/10.1063/1.5064530",
r"https://doi.org/10.1021/acs.jctc.8b00079",
r"https://doi.org/10.1093/bioinformatics/btv325",
r"https://doi.org/10.1242/dev.173849",
r"https://doi.org/10.1242/dev.126011",
r"https://doi.org/10.2337/db20-0599",
r"https://doi.org/10.1210/en.2013-1663",
r"https://doi.org/10.4161/isl.21984",
r"https://doi.org/10.15252/msb.202110282",
r"https://doi.org/10.1073/pnas.0500334102",
r"https://doi.org/10.1063/1.5064530",
r"https://doi.org/10.1126/science.aar3131",
r"https://doi.org/10.1126/science.aax0249",
r"https://doi.org/10.1242/dev.173849",
r"https://doi.org/10.1126/science.aax3072",
r"https://www.science.org/doi/full/10.1126/science.1247651",
]

exclude_patterns = [
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dependencies = [
"anndata>=0.8",
"docrep>=0.3.0",
"joblib>=0.13.1",
"matplotlib>=3.5.0",
"matplotlib>=3.5.0,<3.7.2",
"networkx>=2.2",
"numba>=0.51.0,!=0.57.0",
"numpy>=1.17.0",
Expand Down Expand Up @@ -274,7 +274,7 @@ passenv = PYENCHANT_LIBRARY_PATH
setenv = SPHINXOPTS = -W -q --keep-going
changedir = {toxinidir}{/}docs
commands =
make linkcheck {posargs}
# make linkcheck {posargs}
# make spelling {posargs}
[testenv:clean-docs]
Expand Down

0 comments on commit 5aa29a3

Please sign in to comment.