Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Display option name and option value of failed runs in the Sweeper class' run_sweep method" #912

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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