OpenMDAO / OpenMDAO/Aviary

Many reports do not run when using run_model

Open
#1,269 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
287
Forks
140
Avg merge
6d 14h
Merged PRs (30d)
18

Description

Description

Many of Aviary's reports are not registered to run when you call run_model. Most are set to only run when using run_driver. What we want is for reports to be registered for both run_model and run_driver, however simply copy/pasting the register with the method changed but this causes a warning of duplicate report names when running any models. Changing the report name is probably fine as I don't think it ever shows up in a filename or place a user would see (so we could have something like list_options_driver and list_options_model??)

Example

No response

Error Message

No response

Aviary Version

1.0.3-dev

Environment Information

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the report registration code and the run_model and run_driver entry points. Check how report names and methods are registered, then verify that the relevant reports run through both entry points without duplicate-name warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.