|
[HepData-svn] r1471 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formatsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgFri Sep 23 13:19:44 BST 2011
Author: whalley Date: Fri Sep 23 13:19:43 2011 New Revision: 1471 Log: fix wrongly positioned yval for cases with multiple x axes Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/PlainFormatter.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/PlainFormatter.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/PlainFormatter.java Tue Aug 9 12:35:59 2011 (r1470) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/PlainFormatter.java Fri Sep 23 13:19:43 2011 (r1471) @@ -133,10 +133,11 @@ Double xlow = b.getLowValue(); Double xhigh = b.getHighValue(); Double xfocus = b.getFocus(); - template = "$xfocus$\t$xlow$\t$xhigh$\t$yval$"; + template = "$xfocus$\t$xlow$\t$xhigh$"; for (int ix=1; ix<x.getDataset().getXAxes().size(); ix++){ template=template.concat("\t$val" + Integer.toString(ix) + "$"); } + template=template.concat("\t$yval$"); row.setTemplate(template); row.setAttribute("xfocus", xfocus); row.setAttribute("xlow", xlow);
More information about the HepData-svn mailing list |