|
[HepData-svn] r1746 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/componentsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Feb 18 10:10:34 GMT 2014
Author: whalley Date: Tue Feb 18 10:10:34 2014 New Revision: 1746 Log: removing plot link when y-axis is non-numerical 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 Mon Feb 17 21:59:26 2014 (r1745) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java Tue Feb 18 10:10:34 2014 (r1746) @@ -535,6 +535,7 @@ 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"); }
More information about the HepData-svn mailing list |