From 5951848c5a01ec367c4b67e5e37bc0424dc1a517 Mon Sep 17 00:00:00 2001 From: William Patton Date: Tue, 10 Dec 2024 10:01:24 -0800 Subject: [PATCH] Ruff linting --- funlib/persistence/arrays/ome_datasets.py | 12 +++++------- tests/test_array.py | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/funlib/persistence/arrays/ome_datasets.py b/funlib/persistence/arrays/ome_datasets.py index df65801..4b40586 100644 --- a/funlib/persistence/arrays/ome_datasets.py +++ b/funlib/persistence/arrays/ome_datasets.py @@ -1,18 +1,16 @@ import logging +from itertools import chain +from pathlib import Path from typing import Sequence -from funlib.geometry import Coordinate - -import zarr -from iohub.ngff import open_ome_zarr, AxisMeta, TransformationMeta -import dask.array as da import numpy as np +from iohub.ngff import AxisMeta, TransformationMeta, open_ome_zarr from numpy.typing import DTypeLike +from funlib.geometry import Coordinate + from .array import Array from .metadata import MetaData, OME_MetaDataFormat -from pathlib import Path -from itertools import chain logger = logging.getLogger(__name__) diff --git a/tests/test_array.py b/tests/test_array.py index 3086ab1..8b16bfd 100644 --- a/tests/test_array.py +++ b/tests/test_array.py @@ -1,6 +1,6 @@ +import dask.array as da import numpy as np import pytest -import dask.array as da from funlib.geometry import Coordinate, Roi from funlib.persistence.arrays import Array