Skip to content

Commit

Permalink
Fixed PEP8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hschilling committed Dec 4, 2023
1 parent ae0d3e5 commit 1a00274
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openmdao/drivers/pyoptsparse_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,6 @@ def run(self):
else:
output_dir = self.options['output_dir']


optimizers_and_output_files = {
# ALPSO uses a single option `filename` to determine name of both output files
'ALPSO': [('filename', 'ALPSO.out')],
Expand All @@ -595,7 +594,7 @@ def run(self):
for opt_setting_name, output_file_name in optimizers_and_output_files[optimizer]:
if self.opt_settings.get(opt_setting_name) is None:
self.opt_settings[opt_setting_name] = f'{output_dir}/{output_file_name}'

# Process any default optimizer-specific settings.
if optimizer in DEFAULT_OPT_SETTINGS:
for name, value in DEFAULT_OPT_SETTINGS[optimizer].items():
Expand Down

0 comments on commit 1a00274

Please sign in to comment.