Skip to content

Commit 274bee0

Browse files
committed
fix: add type annotation for _cache_genome to fix mypy error
1 parent 4cd055f commit 274bee0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

malariagen_data/anoph/genome_sequence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def _genome_ref_name(self) -> str:
6161

6262
def open_genome(self) -> zarr.hierarchy.Group:
6363
"""Open the reference genome zarr."""
64-
if not hasattr(self, "_cache_genome") or self._cache_genome is None:
64+
if not hasattr(self, '_cache_genome') or self._cache_genome is None:
6565
path = f"{self._base_path}/{self._genome_zarr_path}"
6666
store = _init_zarr_store(fs=self._fs, path=path)
6767
self._cache_genome = zarr.open_consolidated(store=store)

0 commit comments

Comments
 (0)