-
Notifications
You must be signed in to change notification settings - Fork 104
Description
Description
The record_filename
argument of run_aviary()
(level 1) and the corresponding argument in run_aviary_problem()
(level 2) allow for the filename with the problem record (a .db file) to be renamed according to user desire - however this completely breaks the dashboard, which is looking for the default filename.
As far as I can tell, there isn't really any purpose to letting the user rename a specific report, since it now always gets placed inside the problem's reports folder which prevents it from getting confused with other problem reports. This functionality should be removed, as it has limited usefulness and is an easy way to break the dashboard.
Example
Attempting to open the dashboard when this option has been used creates the following warning:
/usr/share/miniconda/envs/test/lib/python3.13/site-packages/aviary/visualization/dashboard.py:1096: OpenMDAOWarning:Given Problem case recorder file <problem_name>/dymos_solution.db does not exist
Aviary Version
0.10.0-dev
Relevant environment information
No response