pertpy 1.0.1__tar.gz → 1.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pertpy-1.0.1 → pertpy-1.0.3}/.github/release-drafter.yml +2 -2
- {pertpy-1.0.1 → pertpy-1.0.3}/.github/workflows/test.yml +1 -1
- {pertpy-1.0.1 → pertpy-1.0.3}/.github/workflows/test_tutorials.yml +3 -3
- {pertpy-1.0.1 → pertpy-1.0.3}/.gitignore +4 -3
- {pertpy-1.0.1 → pertpy-1.0.3}/.pre-commit-config.yaml +4 -4
- {pertpy-1.0.1 → pertpy-1.0.3}/.readthedocs.yml +1 -1
- {pertpy-1.0.1 → pertpy-1.0.3}/PKG-INFO +14 -2
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/changelog.md +18 -2
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/conf.py +1 -1
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/__init__.py +1 -1
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/data/_dataloader.py +2 -2
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/data/_datasets.py +62 -62
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/metadata/_cell_line.py +9 -3
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/metadata/_drug.py +4 -2
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/preprocessing/_guide_rna.py +17 -10
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/preprocessing/_guide_rna_mixture.py +9 -3
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/__init__.py +12 -2
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_augur.py +37 -14
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_coda/_sccoda.py +68 -101
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_coda/_tasccoda.py +103 -85
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_mixscape.py +48 -39
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_perturbation_space/_comparison.py +3 -3
- pertpy-1.0.3/pertpy/tools/_perturbation_space/_discriminator_classifiers.py +474 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_perturbation_space/_perturbation_space.py +22 -14
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_perturbation_space/_simple.py +12 -6
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_scgen/_scgenvae.py +2 -1
- pertpy-1.0.3/pertpy/tools/core.py +18 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pyproject.toml +10 -4
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/preprocessing/test_grna_assignment.py +1 -1
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_coda/test_tasccoda.py +6 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_distances/test_distances.py +1 -2
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/test_augur.py +1 -1
- pertpy-1.0.3/tests/tools/test_core.py +58 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/test_mixscape.py +3 -3
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/test_scgen.py +9 -1
- pertpy-1.0.1/pertpy/tools/_perturbation_space/_discriminator_classifiers.py +0 -566
- {pertpy-1.0.1 → pertpy-1.0.3}/.editorconfig +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/.gitattributes +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/.github/labels.yml +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/.github/pull_request_template.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/.github/workflows/build.yml +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/.github/workflows/labeler.yml +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/.github/workflows/release.yml +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/.github/workflows/release_drafter.yml +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/.gitmodules +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/LICENSE +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/README.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/biome.jsonc +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/codecov.yml +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/Makefile +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_ext/edit_on_github.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_ext/typed_returns.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/SCVI_LICENSE +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/css/overwrite.css +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/css/sphinx_gallery.css +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/augur_dp_scatter.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/augur_important_features.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/augur_lollipop.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/augur_scatterplot.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/de_fold_change.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/de_multicomparison_fc.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/de_paired_expression.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/de_volcano.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/dialogue_pairplot.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/dialogue_violin.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/enrichment_dotplot.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/enrichment_gsea.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/milo_da_beeswarm.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/milo_nhood.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/milo_nhood_graph.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/mixscape_barplot.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/mixscape_heatmap.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/mixscape_lda.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/mixscape_perturbscore.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/mixscape_violin.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/pseudobulk_samples.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/sccoda_boxplots.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/sccoda_effects_barplot.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/sccoda_rel_abundance_dispersion_plot.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/sccoda_stacked_barplot.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/scgen_reg_mean.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/tasccoda_draw_effects.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/tasccoda_draw_tree.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/docstring_previews/tasccoda_effects_umap.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/icons/code-24px.svg +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/icons/computer-24px.svg +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/icons/library_books-24px.svg +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/icons/play_circle_outline-24px.svg +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/pertpy_logo.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/pertpy_logo.svg +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/placeholder.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/augur.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/cinemaot.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/dge.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/dialogue.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/distances.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/distances_tests.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/enrichment.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/guide_rna_assignment.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/mcfarland.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/metadata.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/milo.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/mixscape.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/norman.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/ontology.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/perturbation_space.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/placeholder.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/sccoda.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/sccoda_extended.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/scgen_perturbation_prediction.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/tasccoda.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_static/tutorials/zhang.png +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/_templates/autosummary/class.rst +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/about/background.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/about/cite.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/api/datasets_index.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/api/metadata_index.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/api/preprocessing_index.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/api/tools_index.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/api.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/contributing.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/index.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/installation.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/make.bat +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/references.bib +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/references.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/tutorials/metadata.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/tutorials/preprocessing.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/tutorials/tools.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/tutorials.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/usecases.md +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/docs/utils.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/_doc.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/_types.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/data/__init__.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/metadata/__init__.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/metadata/_compound.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/metadata/_look_up.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/metadata/_metadata.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/metadata/_moa.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/plot/__init__.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/preprocessing/__init__.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/py.typed +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_cinemaot.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_coda/__init__.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_coda/_base_coda.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_dialogue.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_differential_gene_expression/__init__.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_differential_gene_expression/_base.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_differential_gene_expression/_checks.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_differential_gene_expression/_dge_comparison.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_differential_gene_expression/_edger.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_differential_gene_expression/_pydeseq2.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_differential_gene_expression/_simple_tests.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_differential_gene_expression/_statsmodels.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_distances/__init__.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_distances/_distance_tests.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_distances/_distances.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_enrichment.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_milo.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_perturbation_space/__init__.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_perturbation_space/_clustering.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_perturbation_space/_metrics.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_scgen/__init__.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_scgen/_base_components.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_scgen/_scgen.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/_scgen/_utils.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/decoupler_LICENSE +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/pertpy/tools/transferlearning_MMD_LICENSE +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/conftest.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/metadata/test_cell_line.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/metadata/test_compound.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/metadata/test_drug.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/metadata/test_moa.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_coda/test_sccoda.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_differential_gene_expression/__init__.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_differential_gene_expression/conftest.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_differential_gene_expression/test_base.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_differential_gene_expression/test_compare_groups.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_differential_gene_expression/test_dge.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_differential_gene_expression/test_edger.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_differential_gene_expression/test_input_checks.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_differential_gene_expression/test_pydeseq2.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_differential_gene_expression/test_simple_tests.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_differential_gene_expression/test_statsmodels.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_distances/test_distance_tests.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_perturbation_space/test_comparison.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_perturbation_space/test_discriminator_classifiers.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_perturbation_space/test_simple_cluster_space.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/_perturbation_space/test_simple_perturbation_space.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/test_cinemaot.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/test_dialogue.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/test_enrichment.py +0 -0
- {pertpy-1.0.1 → pertpy-1.0.3}/tests/tools/test_milo.py +0 -0
@@ -34,8 +34,8 @@ jobs:
|
|
34
34
|
"guide_rna_assignment.ipynb",
|
35
35
|
"milo.ipynb",
|
36
36
|
"mixscape.ipynb",
|
37
|
-
"perturbation_space.ipynb",
|
38
37
|
"sccoda.ipynb",
|
38
|
+
# "perturbation_space.ipynb", seems to run OOM as of Jax implementation
|
39
39
|
# "dialogue.ipynb", takes too long
|
40
40
|
# "tasccoda.ipynb", a pain to get running because of the required QT dependency. The QT action leads to a dead kernel
|
41
41
|
# also no use cases yet
|
@@ -48,7 +48,7 @@ jobs:
|
|
48
48
|
fetch-depth: 0
|
49
49
|
submodules: "true"
|
50
50
|
|
51
|
-
- name: Cache
|
51
|
+
- name: Cache pertpy's cache folder
|
52
52
|
uses: actions/cache@v4
|
53
53
|
with:
|
54
54
|
path: cache
|
@@ -87,7 +87,7 @@ jobs:
|
|
87
87
|
- name: Install dependencies
|
88
88
|
run: |
|
89
89
|
uv pip install --system rpy2 decoupler muon
|
90
|
-
uv pip install --system
|
90
|
+
uv pip install --system ".[dev,test,all]"
|
91
91
|
uv pip install --system nbconvert ipykernel
|
92
92
|
|
93
93
|
- name: Run ${{ matrix.notebook }} Notebook
|
@@ -148,7 +148,6 @@ dmypy.json
|
|
148
148
|
|
149
149
|
# Datasets
|
150
150
|
*.h5ad
|
151
|
-
*.h5md
|
152
151
|
*.h5mu
|
153
152
|
|
154
153
|
# Test cache
|
@@ -157,8 +156,7 @@ cache
|
|
157
156
|
# Apple stuff
|
158
157
|
.DS_Store
|
159
158
|
|
160
|
-
lightning_logs
|
161
|
-
*/lightning_logs/*
|
159
|
+
lightning_logs/
|
162
160
|
|
163
161
|
node_modules
|
164
162
|
|
@@ -169,3 +167,6 @@ test-bug
|
|
169
167
|
|
170
168
|
# uv
|
171
169
|
uv.lock
|
170
|
+
|
171
|
+
# Ruff
|
172
|
+
.ruff_cache
|
@@ -7,17 +7,17 @@ default_stages:
|
|
7
7
|
minimum_pre_commit_version: 2.16.0
|
8
8
|
repos:
|
9
9
|
- repo: https://github.com/biomejs/pre-commit
|
10
|
-
rev: v2.
|
10
|
+
rev: v2.2.4
|
11
11
|
hooks:
|
12
12
|
- id: biome-format
|
13
13
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
14
|
-
rev: v0.
|
14
|
+
rev: v0.13.1
|
15
15
|
hooks:
|
16
16
|
- id: ruff-check
|
17
17
|
args: [--fix, --exit-non-zero-on-fix, --unsafe-fixes]
|
18
18
|
- id: ruff-format
|
19
19
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
20
|
-
rev:
|
20
|
+
rev: v6.0.0
|
21
21
|
hooks:
|
22
22
|
- id: detect-private-key
|
23
23
|
- id: check-ast
|
@@ -33,7 +33,7 @@ repos:
|
|
33
33
|
- id: no-commit-to-branch
|
34
34
|
args: ["--branch=main"]
|
35
35
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
36
|
-
rev: v1.
|
36
|
+
rev: v1.18.2
|
37
37
|
hooks:
|
38
38
|
- id: mypy
|
39
39
|
args: [--no-strict-optional, --ignore-missing-imports]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pertpy
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.3
|
4
4
|
Summary: Perturbation Analysis in the scverse ecosystem.
|
5
5
|
Project-URL: Documentation, https://pertpy.readthedocs.io
|
6
6
|
Project-URL: Source, https://github.com/scverse/pertpy
|
@@ -50,8 +50,11 @@ Requires-Dist: adjusttext
|
|
50
50
|
Requires-Dist: arviz
|
51
51
|
Requires-Dist: blitzgsea
|
52
52
|
Requires-Dist: fast-array-utils[accel,sparse]
|
53
|
+
Requires-Dist: flax
|
54
|
+
Requires-Dist: funsor
|
53
55
|
Requires-Dist: lamin-utils
|
54
56
|
Requires-Dist: mudata
|
57
|
+
Requires-Dist: numpyro
|
55
58
|
Requires-Dist: openpyxl
|
56
59
|
Requires-Dist: ott-jax
|
57
60
|
Requires-Dist: pubchempy
|
@@ -61,8 +64,15 @@ Requires-Dist: rich
|
|
61
64
|
Requires-Dist: scanpy
|
62
65
|
Requires-Dist: scikit-learn>=1.4
|
63
66
|
Requires-Dist: scikit-misc
|
64
|
-
Requires-Dist: scvi-tools
|
65
67
|
Requires-Dist: sparsecca
|
68
|
+
Provides-Extra: all
|
69
|
+
Requires-Dist: ete4; extra == 'all'
|
70
|
+
Requires-Dist: formulaic; extra == 'all'
|
71
|
+
Requires-Dist: formulaic-contrasts>=0.2.0; extra == 'all'
|
72
|
+
Requires-Dist: pydeseq2>=v0.5.0; extra == 'all'
|
73
|
+
Requires-Dist: pyqt6; extra == 'all'
|
74
|
+
Requires-Dist: scvi-tools[jax]; extra == 'all'
|
75
|
+
Requires-Dist: toytree>=3.0; extra == 'all'
|
66
76
|
Provides-Extra: de
|
67
77
|
Requires-Dist: formulaic; extra == 'de'
|
68
78
|
Requires-Dist: formulaic-contrasts>=0.2.0; extra == 'de'
|
@@ -90,6 +100,8 @@ Requires-Dist: sphinx-remove-toctrees; extra == 'doc'
|
|
90
100
|
Requires-Dist: sphinx>=8.1; extra == 'doc'
|
91
101
|
Requires-Dist: sphinxcontrib-bibtex>=1.0.0; extra == 'doc'
|
92
102
|
Requires-Dist: sphinxext-opengraph; extra == 'doc'
|
103
|
+
Provides-Extra: scgen
|
104
|
+
Requires-Dist: scvi-tools[jax]; extra == 'scgen'
|
93
105
|
Provides-Extra: tcoda
|
94
106
|
Requires-Dist: ete4; extra == 'tcoda'
|
95
107
|
Requires-Dist: pyqt6; extra == 'tcoda'
|
@@ -5,15 +5,31 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
-
## v1.0.
|
8
|
+
## v1.0.3
|
9
|
+
|
10
|
+
### 🚀 Features
|
11
|
+
|
12
|
+
* Move from figshare to scverse AWS S3 ([#848](https://github.com/scverse/pertpy/pull/848)) @Zethson
|
13
|
+
* Rename `label_transfer` `column` parameter to `target_column` ([#848](https://github.com/scverse/pertpy/pull/848)) @Zethson
|
14
|
+
* Rename `mixscape` `labels` parameter to `pert_key` ([#848](https://github.com/scverse/pertpy/pull/848)) @Zethson
|
15
|
+
|
16
|
+
## v1.0.2
|
9
17
|
|
18
|
+
### 🐛 Bug Fixes
|
19
|
+
|
20
|
+
* Fix Validate 'type' parameter in Tasccoda.load ([#839](https://github.com/scverse/pertpy/pull/839)) @JuanTejedor
|
21
|
+
* Partial fixes for make_arviz ([#834](https://github.com/scverse/pertpy/pull/834)) @jpintar
|
22
|
+
* Fix setting of `rng_key` in `make_arviz` ([#831](https://github.com/scverse/pertpy/pull/831)) @jpintar
|
23
|
+
* Fix GDSC and PRISM annotation warnings ([#835](https://github.com/scverse/pertpy/pull/835)) @Lilly-May
|
24
|
+
|
25
|
+
## v1.0.1
|
10
26
|
|
11
27
|
### 🚀 Features
|
12
28
|
|
13
29
|
* Add support for gamma parameter in MMD distance ([#825](https://github.com/scverse/pertpy/pull/825)) @Zethson
|
14
30
|
* Run notebooks in CI ([#815](https://github.com/scverse/pertpy/pull/815)) @Zethson
|
15
31
|
|
16
|
-
|
32
|
+
### 🐛 Bug Fixes
|
17
33
|
|
18
34
|
* Fix milo output writing ([#821](https://github.com/scverse/pertpy/pull/821)) @Zethson
|
19
35
|
|
@@ -14,7 +14,7 @@ needs_sphinx = "4.3"
|
|
14
14
|
info = metadata("pertpy")
|
15
15
|
project_name = info["Name"]
|
16
16
|
author = info["Author"]
|
17
|
-
copyright = f"{datetime.now():%Y}, {author}
|
17
|
+
copyright = f"{datetime.now():%Y}, {author}"
|
18
18
|
version = info["Version"]
|
19
19
|
urls = dict(pu.split(", ") for pu in info.get_all("Project-URL"))
|
20
20
|
repository_url = urls["Source"]
|
@@ -17,7 +17,7 @@ def _download( # pragma: no cover
|
|
17
17
|
url: str,
|
18
18
|
output_file_name: str | None = None,
|
19
19
|
output_path: str | Path | None = None,
|
20
|
-
block_size: int =
|
20
|
+
block_size: int = 8192,
|
21
21
|
overwrite: bool = False,
|
22
22
|
is_zip: bool = False,
|
23
23
|
timeout: int = 30,
|
@@ -74,7 +74,7 @@ def _download( # pragma: no cover
|
|
74
74
|
response.raise_for_status()
|
75
75
|
total = int(response.headers.get("content-length", 0))
|
76
76
|
|
77
|
-
with Progress(refresh_per_second=
|
77
|
+
with Progress(refresh_per_second=3) as progress:
|
78
78
|
task = progress.add_task("[red]Downloading...", total=total)
|
79
79
|
with Path(temp_file_name).open("wb") as file:
|
80
80
|
for data in response.iter_content(block_size):
|