Skip to content

Commit

Permalink
fix requirements + unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
nayib-jose-gloria committed Jan 8, 2025
1 parent d580f8b commit bde4829
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cellxgene_schema_cli/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ anndata==0.11.2
cellxgene-ontology-guide==1.3.0 # update before a schema migration
click<9
Cython<4
dask[array,dataframe,distributed]==2024.12.0
dask==2024.12.0
numpy<3
pandas>2,<3
PyYAML<7
Expand Down
2 changes: 1 addition & 1 deletion cellxgene_schema_cli/tests/test_schema_compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def test_raw_values__invalid_spatial(self, validator_with_visium_assay, invalid_
"ERROR: Raw data may be missing: data in 'raw.X' does not meet schema requirements.",
]

@pytest.mark.parametrize("datatype", [int, "float16", "float64"])
@pytest.mark.parametrize("datatype", [int, "float64"])
def test_raw_values__wrong_datatype(self, validator_with_adata, datatype):
"""
When both `adata.X` and `adata.raw.X` are present, but `adata.raw.X` values are stored as the wrong datatype
Expand Down

0 comments on commit bde4829

Please sign in to comment.