Skip to content

Commit

Permalink
Fix extra newline in EndOfDataFormat for non-eio outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
lefticus committed Feb 13, 2020
1 parent 2a38371 commit 55f5f74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EnergyPlus/SimulationManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@ namespace SimulationManager {
// na

// SUBROUTINE PARAMETER DEFINITIONS:
static constexpr auto EndOfDataFormat("End of Data\n"); // Signifies the end of the data block in the output file
static constexpr auto EndOfDataFormat("End of Data"); // Signifies the end of the data block in the output file

// INTERFACE BLOCK SPECIFICATIONS:
// na
Expand Down Expand Up @@ -1874,7 +1874,7 @@ namespace SimulationManager {
}

// Close the Initialization Output File
print(outputFiles.eio, EndOfDataFormat);
print(outputFiles.eio, "{}\n", EndOfDataFormat);
outputFiles.eio.close();

// Close the Meters Output File
Expand Down

8 comments on commit 55f5f74

@Myoldmopar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic, thanks!

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

develop (lefticus) - x86_64-MacOS-10.13-clang: OK (1961 of 1961 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

develop (lefticus) - x86_64-Linux-Ubuntu-18.04-gcc-7.4: OK (1981 of 1981 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

develop (lefticus) - x86_64-Linux-Ubuntu-18.04-cppcheck: OK (0 of 0 tests passed, 0 test warnings)

Build Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

develop (lefticus) - x86_64-Linux-Ubuntu-18.04-custom_check: OK (10 of 11 tests passed, 0 test warnings)

Failures:\n

Test Summary

  • Passed: 10
  • : 1

Build Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

develop (lefticus) - x86_64-Linux-Ubuntu-18.04-gcc-7.4-IntegrationCoverage-Debug: OK (679 of 680 tests passed, 0 test warnings)

Failures:\n

integration Test Summary

  • Passed: 679
  • Timeout: 1

Build Badge Test Badge Coverage Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

develop (lefticus) - x86_64-Linux-Ubuntu-18.04-gcc-7.4-UnitTestsCoverage-Debug: OK (1284 of 1284 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

develop (lefticus) - Win64-Windows-10-VisualStudio-16: OK (1961 of 1961 tests passed, 0 test warnings)

Build Badge Test Badge

Please sign in to comment.