Skip to content

Commit

Permalink
fix: Fixed writer
Browse files Browse the repository at this point in the history
  • Loading branch information
Karol-G committed Aug 16, 2024
1 parent 223ac23 commit fbea56d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/napari_nifti/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.0.14"
__version__ = "0.0.15"

from ._reader import napari_get_reader
from ._writer import write_single_image
Expand Down
2 changes: 1 addition & 1 deletion src/napari_nifti/_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
def write_single_image(path: str, data: Any, meta: dict):
"""Writes a single image layer"""
meta = meta["metadata"]
spacing, origin, direction, header = None, None, None, None, None
spacing, origin, direction, header = None, None, None, None
if "spacing" in meta:
spacing = meta["spacing"]
if "origin" in meta:
Expand Down

0 comments on commit fbea56d

Please sign in to comment.