Skip to content

Commit

Permalink
Add dependencies to recommend so more notebooks run properly
Browse files Browse the repository at this point in the history
This commit adds some additional dependencies so that more notebooks
under `docs/tutorials` can run properly when installing with
`pip install snapatac2[recommend]`.

In future work, it may make sense to remove dependencies like
`scanorama` and `harmonypy` from `extra`
`[project.optional-dependencies]` as `scanpy` already shares the
exact same dependencies and it may be easier for future maintenance
for `scanpy` to deal with versioning and pinning.
  • Loading branch information
njmei committed Mar 30, 2024
1 parent f9fe4f9 commit ca414ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapatac2-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ Changelog = "https://kzhang.org/SnapATAC2/version/dev/changelog.html"

[project.optional-dependencies]
extra = ["scanorama>=1.7.3", "harmonypy>=0.0.9", "xgboost>=1.4", "umap-learn>=0.5.0"]
recommend = ["scanpy[skmisc]>=1.9", "scvi-tools>=1.0"]
recommend = ["scanpy[scanorama, skmisc, magic, harmony]>=1.9", "scvi-tools>=1.0"]
all = ["snapatac2[extra]", "snapatac2[recommend]"]
test = ["pytest", "hypothesis==6.72.4"]

0 comments on commit ca414ce

Please sign in to comment.