mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-30 03:58:11 +08:00
Fix compatibility test (#1948)
* update anndata version and warning about version * update compatibility tests
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.6, 3.7, 3.8]
|
||||
anndata-version: [0.6.22.post1, 0.7.1]
|
||||
anndata-version: [0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4]
|
||||
test-suite: [smoke-test, smoke-test-annotations]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
@@ -177,10 +177,10 @@ class AnndataAdaptor(DataAdaptor):
|
||||
)
|
||||
|
||||
def _validate_and_initialize(self):
|
||||
if anndata_version_is_pre_070() and self.server_config.adaptor__anndata_adaptor__backed:
|
||||
if anndata_version_is_pre_070():
|
||||
warnings.warn(
|
||||
"Use of --backed mode with anndata versions older than 0.7 will have serious "
|
||||
"performance issues. Please update to at least anndata 0.7 or later."
|
||||
"Use of anndata versions older than 0.7 will have serious issues. Please update to at "
|
||||
"least anndata 0.7 or later."
|
||||
)
|
||||
|
||||
# var and obs column names must be unique
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
anndata>=0.6.20
|
||||
anndata>=0.7.0
|
||||
boto3>=1.12.18
|
||||
click>=7.1.2
|
||||
fastobo>=0.6.1
|
||||
|
||||
Reference in New Issue
Block a user