Closed christophe-david closed 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 85.22%. Comparing base (
345e3ca
) to head (f96acbc
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Outputs are still not set from input file.
Reading the original description of the PR I thought this would be the case because of that line
This PR allows setting values of output variables from input files, which is useful to initialize loop variables.
Outputs are still not set from input file.
Reading the original description of the PR I thought this would be the case because of that line
This PR allows setting values of output variables from input files, which is useful to initialize loop variables.
Indeed. I lowered the scope of this PR, but incorrectly modified the description.
This PR streamlines the way input files are read.
More in details,
FASTOADProblem.read_inputs()
is still callable before or aftersetup()
, but the file is now read only once, and before setup, only input variables withshape_by_conn==True
are put in an IVC. Other variable values are provided throughProblem.set_val()
afterProblem.setup()
.