diff --git a/src/napari_h5/__init__.py b/src/napari_h5/__init__.py index f26cb97..5f0c314 100644 --- a/src/napari_h5/__init__.py +++ b/src/napari_h5/__init__.py @@ -4,7 +4,7 @@ from ._writer import multi_layer_writer, single_layer_writer __all__ = ( - "napari_get_reader", - "write_single_image", - "write_multiple", + "get_reader", + "single_layer_writer", + "multi_layer_writer", ) diff --git a/src/napari_h5/_writer.py b/src/napari_h5/_writer.py index 1e8876e..4ef2665 100644 --- a/src/napari_h5/_writer.py +++ b/src/napari_h5/_writer.py @@ -33,7 +33,7 @@ def multi_layer_writer(path: str, layer_data: List[FullLayerData]) -> List[str]: from pathlib import Path path0 = Path(str) - for i, d0 in enumerate(data): + for i, d0 in enumerate(layer_data): path1 = f"{path0.stem()}_{i:03d}{path0.suffix()}" try: