|
[HepData-svn] r1748 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/componentsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Feb 18 11:01:27 GMT 2014
Author: watt Date: Tue Feb 18 11:01:27 2014 New Revision: 1748 Log: Updated DatasetAsHtml.java to suppress plots if non-numeric y values Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java Tue Feb 18 10:26:48 2014 (r1747) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java Tue Feb 18 11:01:27 2014 (r1748) @@ -535,7 +535,6 @@ for (int iy = 1; iy <= ny; ++iy) { YAxis y = _dataset.getYAxis(iy); Point pt2 = y.getPoint(ip); - if(pt2.getDescription()!=null) { plotit=false; } writer.element("td"); if(ip == npoints) { writer.attributes("class", "yval_last"); } else { writer.attributes("class", "yval"); } @@ -546,6 +545,7 @@ } if (pt2.getDescription() != null) { + plotit=false; writer.write(pt2.getDescription().toString()); } else {
More information about the HepData-svn mailing list |