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

Change behavior of the problem_recorder and driver_recorder options on dashboard command #320

Conversation

hschilling
Copy link
Member

Summary

Modified the way the dashboard command works so that the dashboard always uses the problem and driver case recorder files and that the problem_recorder and driver_recorder options be used to indicate that a non-standard name for the file was used. The exception to that is if driver_recorder is set to None, which would indicate not reading the driver recorder file, which could be very large and the resulting dashboard tab not of interest to the user.

Also changed the name of the default filenames to be problem_history.db and driver_history.db.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

driver_recorder : str
Name of the recorder file containing the Driver cases.
driver_recorder : str or None
Name of the recorder file containing the Driver cases. If None, ignore this file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer something more descriptive than "ignored", maybe something like:

Suggested change
Name of the recorder file containing the Driver cases. If None, ignore this file
Name of the recorder file containing the Driver cases. If None, the driver tab will not be added

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good suggestion! Fixed

@crecine
Copy link
Contributor

crecine commented Jun 18, 2024

#330 changed aviary/docs/user_guide/outputs_and_how_to_read_them from .md to .ipynb, if you need help resolving the merge conflict, let me know.

…hange-recorder-name-dashboard-option-behavior
@crecine
Copy link
Contributor

crecine commented Jun 21, 2024

@hschilling Just created a PR to your branch to resolve the merge conflict, which should fix the doc failure

@hschilling
Copy link
Member Author

Thanks!

@crecine
Copy link
Contributor

crecine commented Jun 24, 2024

Thanks!

You'll have to approve it here
hschilling#1

Changed default name of problem recorder file to problem_history.db
@crecine crecine enabled auto-merge June 26, 2024 16:20
@crecine crecine added this pull request to the merge queue Jun 26, 2024
Merged via the queue into OpenMDAO:main with commit 98bcc7c Jun 26, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change behavior of the problem_recorder and driver_recorder options on dashboard command
3 participants