|
[Rivet-svn] r3129 - trunk/pyextblackhole at projects.hepforge.org blackhole at projects.hepforge.orgSun Jun 5 22:27:26 BST 2011
Author: hoeth Date: Sun Jun 5 22:27:25 2011 New Revision: 3129 Log: finish flat output with linebreak Modified: trunk/pyext/lighthisto.py Modified: trunk/pyext/lighthisto.py ============================================================================== --- trunk/pyext/lighthisto.py Sun Jun 5 21:51:26 2011 (r3128) +++ trunk/pyext/lighthisto.py Sun Jun 5 22:27:25 2011 (r3129) @@ -126,7 +126,7 @@ out += "## Num bins: %d\n" % self.numBins() out += "## xlow \txhigh \tval \terrminus\terrplus\n" out += "\n".join([b.asFlat() for b in self.getBins()]) - out += "\n# END HISTOGRAM" + out += "\n# END HISTOGRAM\n" return out def asGnuplot(self): @@ -140,7 +140,7 @@ out += "## Num bins: %d\n" % self.numBins() out += "## xval \tyval \txlow \txhigh \tylow \tyhigh\n" out += "\n".join([b.asGnuplot() for b in self.getBins()]) - out += "\n# END HISTOGRAM" + out += "\n# END HISTOGRAM\n" return out def asAIDA(self):
More information about the Rivet-svn mailing list |