-
Notifications
You must be signed in to change notification settings - Fork 394
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
#9228 - Tabular file not generated with only Output:Table:Annual #9296
Conversation
…g if Output:Table:Annual was the only one requested
dcd2f3a
to
12f0d0f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked the defect file on dev support before (didn't have tables), and confirmed it has eplustbl.htm after.
@@ -107,6 +107,9 @@ void GetInputTabularAnnual(EnergyPlusData &state) | |||
|
|||
objCount = state.dataInputProcessing->inputProcessor->getNumObjectsFound(state, currentModuleObject); | |||
if (objCount > 0) { | |||
|
|||
state.dataOutRptTab->WriteTabularFiles = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actual fix
@@ -1653,6 +1653,7 @@ namespace SimulationManager { | |||
ReportingRequested = (state.dataInputProcessing->inputProcessor->getNumObjectsFound(state, "Output:Table:SummaryReports") > 0 || | |||
state.dataInputProcessing->inputProcessor->getNumObjectsFound(state, "Output:Table:TimeBins") > 0 || | |||
state.dataInputProcessing->inputProcessor->getNumObjectsFound(state, "Output:Table:Monthly") > 0 || | |||
state.dataInputProcessing->inputProcessor->getNumObjectsFound(state, "Output:Table:Annual") > 0 || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't warn about "no output requested" if you requested an Output:Table:Annual
EXPECT_FALSE(state->dataOutRptTab->WriteTabularFiles); | ||
GetInputTabularAnnual(*state); | ||
EXPECT_TRUE(state->dataOutRptTab->WriteTabularFiles); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minimal test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix, works as advertised. I've merged in develop, will wait for one CI result or so then merge this.
Pull request overview
Pull Request Author
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
Reviewer
This will not be exhaustively relevant to every PR.