From 0162639bd6ed574f5ccf77e5bcb37252213afb78 Mon Sep 17 00:00:00 2001 From: GingerSpacetail <80680465+GingerSpacetail@users.noreply.github.com> Date: Tue, 16 Apr 2024 18:45:39 +0200 Subject: [PATCH] itk.image() to itk.output() in _type_aliases.py I'm not sure yet, as the whole itk module is currently not working for me... But meanwhile you might want to check if this line should be updated to match the fact that itk.image() is deprecated, and we should use itk.output() instead https://github.com/InsightSoftwareConsortium/ITK/blob/2a1265d75f96ff7a072791629ff23b8c42123b3d/Wrapping/Generators/Python/itk/support/extras.py#L137 --- itkwidgets/_type_aliases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itkwidgets/_type_aliases.py b/itkwidgets/_type_aliases.py index 95ddcf58..93cd2be6 100644 --- a/itkwidgets/_type_aliases.py +++ b/itkwidgets/_type_aliases.py @@ -20,7 +20,7 @@ if HAVE_ITK: import itk - Image = Union[Image, itk.Image] + Image = Union[Image, itk.output] if HAVE_VTK: import vtk Image = Union[Image, vtk.vtkImageData]