cadCAD-org/cadCAD

Bug: sweep_cartesian_product does not play nice with config_sim

Closed this issue · 1 comments

This line casts parameter sets to tuples:

sweep_dict = {k: tuple(v) for k, v in sweep_dict.items()}

But this line expects specifically lists, otherwise giving an error:

param_values_length = {key: len(value) if type(value) == list else 0

Thus using sweep_cartesian_product and then easy_run is throwing an error.

I'll submit a PR to resolve this in a moment.