Skip to content

Commit

Permalink
Fix flake8 G002 and G004 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Aug 9, 2022
1 parent ffd39c8 commit d6b48bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions napari_ome_zarr/_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ def f(*args: Any, **kwargs: Any) -> List[LayerData]:
data: List[Any] = node.data
metadata: Dict[str, Any] = {}
if data is None or len(data) < 1:
LOGGER.debug(f"skipping non-data {node}")
LOGGER.debug("skipping non-data %s", node)
else:
LOGGER.debug(f"transforming {node}")
LOGGER.debug("node.metadata: %s" % node.metadata)
LOGGER.debug("transforming %s", node)
LOGGER.debug("node.metadata: %s", node.metadata)

layer_type: str = "image"
channel_axis = None
Expand Down Expand Up @@ -160,7 +160,7 @@ def f(*args: Any, **kwargs: Any) -> List[LayerData]:
metadata["properties"] = properties

rv: LayerData = (data, metadata, layer_type)
LOGGER.debug(f"Transformed: {rv}")
LOGGER.debug("Transformed: %s", rv)
results.append(rv)

return results
Expand Down

0 comments on commit d6b48bb

Please sign in to comment.