You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When FAST-OAD is given an XML input file with variables that are not expected inputs, it does not feed the OAD problem with them, but simply copies these variables into the XML output file. This is an intended behavior to allow keeping variables along a chained process.
However, if a variable in the XML input file is an output, the XML output file will contain the actual output value, and then the original value will be lost without warning.
Expected behavior
A warning should be issued when such a situation is encountered.
Since the most likely reason for it to happen is that the user thought the variable was an input, it would help to spot the error.
Environment
FAST-OAD v1.6.0
The text was updated successfully, but these errors were encountered:
Describe the bug
When FAST-OAD is given an XML input file with variables that are not expected inputs, it does not feed the OAD problem with them, but simply copies these variables into the XML output file. This is an intended behavior to allow keeping variables along a chained process.
However, if a variable in the XML input file is an output, the XML output file will contain the actual output value, and then the original value will be lost without warning.
To Reproduce
Content of
input.xml
:Code:
Obtained in
output.xml
, with a new value fora
(correct but overwritten):Expected behavior
A warning should be issued when such a situation is encountered.
Since the most likely reason for it to happen is that the user thought the variable was an input, it would help to spot the error.
Environment
The text was updated successfully, but these errors were encountered: