We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49af643 commit 6336cc0Copy full SHA for 6336cc0
src/lambkin/common/named_product.py
@@ -52,7 +52,8 @@ def named_product(**parameters):
52
# Create the dictionary
53
variants = []
54
for combination in combinations:
55
- # {"sensor_model" : "likelihood_field", "num_particles" : "1"}
+ # Re-attach the parameter labels to the generated values.
56
+ # zip() pairs keys with values; dict() creates the mapping.
57
variant = dict(zip(keys, combination, strict=True))
58
# TO_DO : combination fails
59
variants.append(variant)
0 commit comments