[HepData-svn] r1543 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed May 30 15:45:37 BST 2012


Author: whalley
Date: Wed May 30 15:45:37 2012
New Revision: 1543

Log:
remove the sqrts checking to stop failing plain formats

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	Wed May 30 15:13:04 2012	(r1542)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/PlainFormatter.java	Wed May 30 15:45:37 2012	(r1543)
@@ -104,7 +104,8 @@
                 for (Property p : d.getYAxis(ny).getProperties()) {
                     /// @todo Do better matching on "SQRT(S)" etc.
                     StringBuffer sb = new StringBuffer();
-                    if (! p.getName().toLowerCase().equals("sqrts")) {
+                    /// next line chnged to sqtrsssss to stop the checking for sqrts ///
+                    if (! p.getName().toLowerCase().equals("sqrtsssss")) {
                         sb.append(p.getName() + " : ");
                         if (p.getLowValue() != null && p.getHighValue() != null &&
                             p.getLowValue().equals(p.getHighValue())) {


More information about the HepData-svn mailing list