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

SimulationBuilder assume input values object has __len__ defined #2183

Closed
ZDu-IDM opened this issue Feb 1, 2024 · 1 comment
Closed

SimulationBuilder assume input values object has __len__ defined #2183

ZDu-IDM opened this issue Feb 1, 2024 · 1 comment
Assignees

Comments

@ZDu-IDM
Copy link
Collaborator

ZDu-IDM commented Feb 1, 2024

Currently for input values in add_sweep_definition and add_multiple_parameter_sweep_definition, it assumes len(values) is available. However, for general Iterable, the len may not be available.

In that special case, we may use list(values) instead.

@shchen-idmod
Copy link
Collaborator

Fixed in 1.7.10 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants