From 305b0c652965fd46ed6e52de15e44d4858ab6ecd Mon Sep 17 00:00:00 2001 From: Matthew Iannucci Date: Tue, 22 Oct 2024 07:37:52 -0400 Subject: [PATCH] More protection --- virtualizarr/accessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtualizarr/accessor.py b/virtualizarr/accessor.py index 80d054e5..63cacf0d 100644 --- a/virtualizarr/accessor.py +++ b/virtualizarr/accessor.py @@ -10,7 +10,6 @@ from virtualizarr.manifests import ManifestArray from virtualizarr.types.kerchunk import KerchunkStoreRefs -from virtualizarr.writers.icechunk import dataset_to_icechunk from virtualizarr.writers.kerchunk import dataset_to_kerchunk_refs from virtualizarr.writers.zarr import dataset_to_zarr @@ -54,6 +53,7 @@ def to_icechunk(self, store: "IcechunkStore") -> None: ---------- store: IcechunkStore """ + from virtualizarr.writers.icechunk import dataset_to_icechunk dataset_to_icechunk(self.ds, store) @overload