-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move to scanpy 1.9.3 and other improvements #117
Merged
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
01075fb
Use mito as bool not changing to category
pcm32 14783d6
Trials scanpy 1.9.1 for the mnn - numba issue.
pcm32 b563fac
Fix 1.9.1 hgv not finding base on log1p
pcm32 d35b6bd
Please black
pcm32 aec9085
Try log fix regardless of option
pcm32 3ad791b
Check direct installation
pcm32 11f5701
Set base explicitly to avoid it being dropped
pcm32 ffb75cd
Please black
pcm32 8cb3e20
Add igrahp and reinstate leidenalg
pcm32 8366105
Also louvain is needed
pcm32 890403c
Pin back h5py
pcm32 bce29d7
Passing all tests locally
pcm32 5556459
Keep todo
pcm32 8fcdd12
Try github actions with mamba
pcm32 26adc07
Black formatting
pcm32 1f16bf8
Python versions, better mamba
pcm32 952807a
Avoid treating versions as numbers
pcm32 4e512fc
Actions changes
pcm32 e691193
Black with no options
pcm32 f69b515
Black fixes
pcm32 c77c853
Check co structure
pcm32 5f186be
Why do we get extra files?
pcm32 3c79a09
Black manually
pcm32 68ec5d1
Make sure env is activated
pcm32 1eb1f96
pytest fix
pcm32 d14b079
Try with original extra dir for pytest
pcm32 c40f073
Type
pcm32 c2ff95b
missing extra dir
pcm32 a16c045
Use importlib.metadata instead
pcm32 042f099
pip install before tests
pcm32 351188a
impose pin on scipy for mnnpy
pcm32 6e5f0fb
Avoid python 3.10
pcm32 cc57c3b
Allow single group in one to one marker comp
pcm32 0e2cbdd
Rerun automatic tests
irisdianauy 69d8322
Try pinning bknn below 1.6.0
pcm32 631c42d
Pin sklearn for bbknn
pcm32 5f00501
Fix package name
pcm32 ee96a41
Pin numba for mnnpy
pcm32 985d860
Downgrade numba even more for mnnpy
pcm32 7caa7b1
Pin numpy for mmnpy
pcm32 3fd13f0
Further pin numpy
pcm32 949e410
Further pin numpy
pcm32 bfb0b87
More stringent pinning based on 2022 scanpy-scripts latest container
pcm32 04404a8
More pinning for mnnpy
pcm32 af7b84c
More mnnpy pinning
pcm32 fb18bed
Commented `mnn_batch_correction` test as it fails with scanpy 1.9.1
anilthanki b50ca8b
adds warning message for `mnn_correct`
anilthanki a9b6910
Reformat _mnn.py
anilthanki c1d98f6
Reformat _mnn.py
anilthanki File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this. If Natural (neperian) is the default in Scanpy, why are you defining it?
Is this related to the bump version in Scanpy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is mostly to explicitly set it in adata.uns. There seems to be an issue by which if you call sc.pp.log1p without the base explicitly given, it doesn't record the base on the uns, and as a result later down the line you have no idea on which base the log was called.