|
[HepData-svn] r1641 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formatsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed Jul 24 12:27:50 BST 2013
Author: whalley Date: Wed Jul 24 12:27:50 2013 New Revision: 1641 Log: adding # on BEGIN and END statements for Yoda Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/YodaFormatter.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/YodaFormatter.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/YodaFormatter.java Wed Jul 17 09:49:16 2013 (r1640) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/YodaFormatter.java Wed Jul 24 12:27:50 2013 (r1641) @@ -68,7 +68,7 @@ path.setAttribute("did", _padId(d.getId())); path.setAttribute("xid", _padId(x.getId())); path.setAttribute("yid", _padId(y.getId())); - s.append("BEGIN YODA_SCATTER2D " + path.toString() + "\n"); + s.append("# BEGIN YODA_SCATTER2D " + path.toString() + "\n"); for (int r = 1; r <= d.getMaxPointId(); ++r) { StringTemplate row = new StringTemplate("$focus$\t$dplus$\t$dminus$\t$xlow$\t$xhigh$\t$yval$\t$yerr$"); Bin b = x.getBin(r); @@ -87,7 +87,7 @@ } s.append(row.toString() + "\n"); } - s.append("END SCATTER " + "\n\n\n"); + s.append("# END SCATTER " + "\n\n\n"); } } asYODA = s.toString();
More information about the HepData-svn mailing list |