diff --git a/Code/Mantid/Framework/DataHandling/src/SaveGSS.cpp b/Code/Mantid/Framework/DataHandling/src/SaveGSS.cpp index 62a0dbb2af9679a602d543e931efa1a04837026b..adf7487ca4dffcc3a16c3c8120cdd5df406f4a56 100644 --- a/Code/Mantid/Framework/DataHandling/src/SaveGSS.cpp +++ b/Code/Mantid/Framework/DataHandling/src/SaveGSS.cpp @@ -278,8 +278,10 @@ void SaveGSS::writeHeaders(const std::string &format, std::ostream& os, Mantid:: os <<"# File generated by Mantid:\n"; os <<"# Instrument: " << workspace->getBaseInstrument()->getName() << "\n"; os <<"# From workspace named : " << workspace->getName(); + if (getProperty("MultiplyByBinWidth")) + os << ", with Y multiplied by the bin widths."; + os << "\n"; if (format.compare(SLOG) == 0) { - os << "# Sample Temperature: "; writeValue(os, runinfo, "SampleTemp"); os << " Freq: "; @@ -307,9 +309,7 @@ void SaveGSS::writeHeaders(const std::string &format, std::ostream& os, Mantid:: os << "\n"; } - if (getProperty("MultiplyByBinWidth")) - os << ", with Y multiplied by the bin widths."; - os << "\n"; + return; }