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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Nov 6 12:01:57 GMT 2013


Author: whalley
Date: Wed Nov  6 12:01:57 2013
New Revision: 1654

Log:
to make HepML work

Modified:
   trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java	Wed Nov  6 12:00:58 2013	(r1653)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java	Wed Nov  6 12:01:57 2013	(r1654)
@@ -169,7 +169,7 @@
                         if(err.getPlus() != null){ s.append(" plus='" + err.getPlus() + "'"); }
                         if(err.getMinus() != null){ s.append(" minus='" + err.getMinus() + "'"); }
                         if(err.getSourceType() != null){ s.append(" source='" + err.getSourceType().toShortString() + "'"); }
-                        if(err.getNormType() != null){ s.append(" norm='" + err.getNormType().toSymbol() + "'"); }
+                        if(err.getNormType() != null){ s.append(" norm='" + err.getNormType().toShortName() + "'"); }
                         if(err.getComment() != null){ s.append(" comment='" + err.getComment() + "'"); }
                         s.append(" />\n");
                     }


More information about the HepData-svn mailing list