Fix compatibility test (#1948)

* update anndata version and warning about version

* update compatibility tests
This commit is contained in:
Madison Dunitz
2020-10-26 17:23:55 -05:00
committed by GitHub
parent 7e9353c5f1
commit 946a910ef4
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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 -1
View File
@@ -1,4 +1,4 @@
anndata>=0.6.20
anndata>=0.7.0
boto3>=1.12.18
click>=7.1.2
fastobo>=0.6.1