Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enumeration support for the wrapping of ParameterObject #37

Open
romangrothausmann opened this issue Feb 10, 2020 · 1 comment
Open
Projects

Comments

@romangrothausmann
Copy link
Member

It would be helpful to have a way of enumerating a list/dict of a ParameterObject like
for i, parameterMap in enumerate(parameterObject):.
Currently, this needs to be done as:

    for i in range(parameterObject.GetNumberOfParameterMaps()):
       parameterMap = parameterObject.GetParameterMap(i)
@thewtex
Copy link
Member

thewtex commented Nov 18, 2020

We can add support for itk.ParameterObject like we did recently with itk.Image: InsightSoftwareConsortium/ITK#2039

@thewtex thewtex added this to To Do in Roadmap via automation Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Roadmap
  
To Do
Development

No branches or pull requests

2 participants