Skip to content

Commit

Permalink
Updated or False to bool()
Browse files Browse the repository at this point in the history
  • Loading branch information
MillenniumFalconMechanic committed May 1, 2024
1 parent 3d3b6be commit 1888316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cellxgene_schema_cli/cellxgene_schema/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _is_visium_and_is_single_true(self) -> bool:
:rtype bool
"""
if self.is_visium_and_is_single_true is None:
self.is_visium_and_is_single_true = self._is_visium() and (self._is_single() or False)
self.is_visium_and_is_single_true = bool(self._is_visium() and self._is_single())
return self.is_visium_and_is_single_true

def _validate_encoding_version(self):
Expand Down

0 comments on commit 1888316

Please sign in to comment.