Skip to content

Commit

Permalink
fix: Fixed bug when saving is_seg attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Karol-G committed Aug 19, 2024
1 parent 157af46 commit c55b323
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion medvol/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "0.0.9"
__version__ = "0.0.10"

from medvol.medvol import MedVol
2 changes: 1 addition & 1 deletion medvol/medvol.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def save(self, filepath):
if self.is_seg is not None:
if self.is_seg:
self.header["intent_name"] = "medvol_seg"
else:
elif not self.is_seg or self.is_seg is None:
self.header["intent_name"] = "medvol_img"
if self.header is not None:
for key, value in self.header.items():
Expand Down

0 comments on commit c55b323

Please sign in to comment.