Skip to content

Commit

Permalink
Revert "Display option name and option value of failed runs in the Sw…
Browse files Browse the repository at this point in the history
…eeper class' `run_sweep` method (#909)"

This reverts commit 377ed14.
  • Loading branch information
priti-ashvin-shah-ibm authored Jan 27, 2023
1 parent 377ed14 commit bdcdd83
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions qiskit_metal/analyses/sweep_and_optimize/sweeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,8 @@ def iterate_option_sweep(self, args: list, all_dicts: Dict,
template = "An exception of type {0} occurred. Arguments:\n{1!r}"
message = template.format(type(ex).__name__, ex.args)
self.design.logger.warning(
f'For class {self.parent.__class__.__name__}, ',
f'option_name={".".join(option_path)}, key={item}, ',
f'run() did not execute as expected: {message}')
f'For class {self.parent.__class__.__name__}, run() did not execute as expected: {message}'
)

self.populate_all_sweep(all_sweep, item, args[1])

Expand Down

0 comments on commit bdcdd83

Please sign in to comment.