Revision 1844b9138ca898d4c8f0e6d9ac30e90217a6e978 authored by Luke Zappia on 12 August 2022, 09:35:06 UTC, committed by GitHub on 12 August 2022, 09:35:06 UTC
* Add check for number of normalized dispersions In sc.pp.highly_variable_genes() when flavor='cell_ranger' and n_top_genes is set check that enough normalized dispersions have been calculated and if not raise a warning and set n_top_genes to the number of calculated dispersions. Fixes #2230 * Use .size instead of len() * Add test for n_top_genes warning * Add release note * Remove blank line Co-authored-by: Isaac Virshup <ivirshup@gmail.com>
1 parent 4623bb7
.pre-commit-config.yaml
repos:
- repo: https://github.com/psf/black
rev: 22.6.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.6.0
hooks:
- id: autopep8
args: ["-i"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
exclude: scanpy/tests/_data
- id: end-of-file-fixer
exclude: scanpy/tests/_data
- id: check-added-large-files
- id: check-case-conflict
- id: check-toml
- id: check-yaml
- id: check-merge-conflict
- id: detect-private-key
ci:
autofix_prs: false
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...