InsightSoftwareConsortium / InsightSoftwareConsortium/ITKElastix

enumeration support for the wrapping of ParameterObject

Open
#37 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
281
Forks
29
Avg merge
16h 28m
Merged PRs (30d)
8

Description

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)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.