Skip to content

ITK RLEImage not available as a Python image source #66

@jhlegarreta

Description

@jhlegarreta

The ITK RLEImage name seems not available as a Python image source:

Traceback (most recent call last):
  File "T:\Dashboard\ITK\Wrapping\Generators\Python\Tests\nolazy.py", line 22, in <module>
    import itk
  File "T:\Dashboard\ITK-build\Wrapping\Generators\Python\itk\__init__.py", line 163, in <module>
    _initialize_module()
  File "T:\Dashboard\ITK-build\Wrapping\Generators\Python\itk\__init__.py", line 133, in _initialize_module
    _base.itk_load_swig_module(module, sys.modules[__name__].__dict__)
  File "T:\Dashboard\ITK-build\Wrapping\Generators\Python\itk\support\base.py", line 247, in itk_load_swig_module
    init_function()
  File "T:\Dashboard\ITK-build\Wrapping\Generators\Python\itk\itkRLERegionOfInterestImageFilterPython.py", line 4265, in image_source_init_docstring
    filter_class = itk.RLEImage.ImageSource
                   ^^^^^^^^^^^^^^^^^^^^^^^^
  File "T:\Dashboard\ITK-build\Wrapping\Generators\Python\itk\support\template_class.py", line 538, in __getattr__
    self._LoadModules()
  File "T:\Dashboard\ITK-build\Wrapping\Generators\Python\itk\support\template_class.py", line 548, in _LoadModules
    modules = base.itk_base_global_lazy_attributes[name]
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
KeyError: 'RLEImage'

reported in:
https://open.cdash.org/tests/1863679199

I am not sure where and how this needs to be fixed as I am not all that familiar with what this involves:
https://github.com/InsightSoftwareConsortium/ITK/blob/master/Wrapping/Generators/Python/itk/support/types.py
https://github.com/InsightSoftwareConsortium/ITK/blob/master/Wrapping/WrapITKTypes.cmake

@thewtex any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions