From 6895543ea6424ecec867d246ec783be13dbd3572 Mon Sep 17 00:00:00 2001 From: Evan Molinelli Date: Mon, 2 Dec 2024 13:04:17 -0500 Subject: [PATCH] lint changes --- cellxgene_schema_cli/tests/test_schema_compliance.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cellxgene_schema_cli/tests/test_schema_compliance.py b/cellxgene_schema_cli/tests/test_schema_compliance.py index b815e86e8..88fe4e2c9 100644 --- a/cellxgene_schema_cli/tests/test_schema_compliance.py +++ b/cellxgene_schema_cli/tests/test_schema_compliance.py @@ -16,10 +16,10 @@ from cellxgene_schema.utils import getattr_anndata from cellxgene_schema.validate import ( ASSAY_VISIUM_11M, + ERROR_SUFFIX_IS_SINGLE, ERROR_SUFFIX_VISIUM, ERROR_SUFFIX_VISIUM_11M, ERROR_SUFFIX_VISIUM_AND_IS_SINGLE_TRUE, - ERROR_SUFFIX_IS_SINGLE, SPATIAL_HIRES_IMAGE_MAX_DIMENSION_SIZE, SPATIAL_HIRES_IMAGE_MAX_DIMENSION_SIZE_VISIUM_11MM, VISIUM_11MM_AND_IS_SINGLE_TRUE_MATRIX_SIZE, @@ -388,13 +388,15 @@ def test_raw_values__multiple_invalid_in_tissue_errors( validator.validate_adata() if assay_ontology_term_id == ASSAY_VISIUM_11M: assert ( - validator.errors[0] == f"ERROR: When {ERROR_SUFFIX_VISIUM_11M} and {ERROR_SUFFIX_IS_SINGLE}, the raw matrix must be the " + validator.errors[0] + == f"ERROR: When {ERROR_SUFFIX_VISIUM_11M} and {ERROR_SUFFIX_IS_SINGLE}, the raw matrix must be the " "unfiltered feature-barcode matrix 'raw_feature_bc_matrix'. It must have exactly " f"{validator.visium_and_is_single_true_matrix_size} rows. Raw matrix row count is 2." ) else: assert ( - validator.errors[0] == f"ERROR: When {ERROR_SUFFIX_VISIUM} and {ERROR_SUFFIX_IS_SINGLE}, the raw matrix must be the " + validator.errors[0] + == f"ERROR: When {ERROR_SUFFIX_VISIUM} and {ERROR_SUFFIX_IS_SINGLE}, the raw matrix must be the " "unfiltered feature-barcode matrix 'raw_feature_bc_matrix'. It must have exactly " f"{validator.visium_and_is_single_true_matrix_size} rows. Raw matrix row count is 2." )