Skip to content

Commit

Permalink
reduce debug clutter for expected behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanielloNTIA committed May 2, 2023
1 parent 9b35c10 commit c59a3d6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scos_actions/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ def get_iterable_parameters(parameters: dict, sortby: str = "frequency"):
for p_key, p_val in params.items():
if len(p_val) == 1:
# Repeat parameter to max length
logger.debug(f"Parameter {p_key} has only one value specified.")
params[p_key] = p_val * max_param_length
logger.debug(f"Set {p_key} for all iterations: {params[p_key]}")
elif len(p_val) < max_param_length:
# Don't make assumptions otherwise. Raise an error.
msg = f"Parameter {p_key} has {len(p_val)} specified values.\n"
Expand Down

0 comments on commit c59a3d6

Please sign in to comment.