-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to scanpy 1.9.3 and other improvements (#117)
* Use mito as bool not changing to category * Trials scanpy 1.9.1 for the mnn - numba issue. * Fix 1.9.1 hgv not finding base on log1p * Please black * Try log fix regardless of option * Check direct installation * Set base explicitly to avoid it being dropped * Please black * Add igrahp and reinstate leidenalg * Also louvain is needed * Pin back h5py * Passing all tests locally * Keep todo * Try github actions with mamba * Black formatting * Python versions, better mamba * Avoid treating versions as numbers * Actions changes * Black with no options * Black fixes * Check co structure * Why do we get extra files? * Black manually * Make sure env is activated * pytest fix * Try with original extra dir for pytest * Type * missing extra dir * Use importlib.metadata instead * pip install before tests * impose pin on scipy for mnnpy * Avoid python 3.10 * Allow single group in one to one marker comp * Rerun automatic tests * Try pinning bknn below 1.6.0 * Pin sklearn for bbknn * Fix package name * Pin numba for mnnpy * Downgrade numba even more for mnnpy * Pin numpy for mmnpy * Further pin numpy * Further pin numpy * More stringent pinning based on 2022 scanpy-scripts latest container * More pinning for mnnpy * More mnnpy pinning * Commented `mnn_batch_correction` test as it fails with scanpy 1.9.1 * adds warning message for `mnn_correct` * Reformat _mnn.py * Reformat _mnn.py --------- Co-authored-by: Iris Diana Yu <[email protected]> Co-authored-by: Anil Thanki <[email protected]>
- Loading branch information
1 parent
874d529
commit 2b926f1
Showing
13 changed files
with
151 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ | |
*.pyc | ||
/.*history | ||
/.*swp | ||
data | ||
compressed | ||
uncompressed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
""" | ||
|
||
import scanpy as sc | ||
|
||
from ..obj_utils import write_obs | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
from setuptools import setup, find_packages | ||
from setuptools import find_packages, setup | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
setup( | ||
name="scanpy-scripts", | ||
version="1.1.6", | ||
version="1.1.9", | ||
author="nh3", | ||
author_email="[email protected]", | ||
description="Scripts for using scanpy from the command line", | ||
|
@@ -35,23 +35,24 @@ | |
] | ||
), | ||
install_requires=[ | ||
"packaging", | ||
"anndata", | ||
"scipy", | ||
"matplotlib", | ||
"pandas", | ||
"h5py<3.0.0", | ||
"scanpy==1.8.1", | ||
# "packaging", | ||
# "anndata", | ||
# "scipy", | ||
# "matplotlib", | ||
# "pandas", | ||
# "h5py<3.0.0", | ||
"scanpy==1.9.3", | ||
"louvain", | ||
"igraph", | ||
"leidenalg", | ||
"loompy", | ||
"Click<8", | ||
"umap-learn", | ||
# "umap-learn", | ||
"harmonypy>=0.0.5", | ||
"bbknn>=1.5.0", | ||
"mnnpy>=0.1.9.5", | ||
"scrublet", | ||
"scikit-misc", | ||
# "scikit-misc", | ||
"fa2", | ||
], | ||
) |
Oops, something went wrong.