Skip to content

Commit 6336cc0

Browse files
committed
Add comments
Signed-off-by: Maria Teresa Ortega <teresa.ortega0903@gmail.com>
1 parent 49af643 commit 6336cc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lambkin/common/named_product.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ def named_product(**parameters):
5252
# Create the dictionary
5353
variants = []
5454
for combination in combinations:
55-
# {"sensor_model" : "likelihood_field", "num_particles" : "1"}
55+
# Re-attach the parameter labels to the generated values.
56+
# zip() pairs keys with values; dict() creates the mapping.
5657
variant = dict(zip(keys, combination, strict=True))
5758
# TO_DO : combination fails
5859
variants.append(variant)

0 commit comments

Comments
 (0)