diff --git a/qiskit_metal/analyses/sweep_and_optimize/sweeper.py b/qiskit_metal/analyses/sweep_and_optimize/sweeper.py index 92df5ebd5..ebd436c9e 100644 --- a/qiskit_metal/analyses/sweep_and_optimize/sweeper.py +++ b/qiskit_metal/analyses/sweep_and_optimize/sweeper.py @@ -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])