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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Nov 12 14:40:05 GMT 2013


Author: whalley
Date: Tue Nov 12 14:40:05 2013
New Revision: 1671

Log:
adding Description/Bins for HepML

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	Tue Nov 12 12:00:31 2013	(r1670)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java	Tue Nov 12 14:40:05 2013	(r1671)
@@ -126,6 +126,7 @@
                     if(bn.getHighValueLength() != null){ s.append(" highlength='" + bn.getHighValueLength() + "'"); }
                     if(bn.getWidth() != null){ s.append(" width='" + bn.getWidth() + "'"); }
                     if(bn.getRelation() != null){ s.append(" relation='" + bn.getRelation().toShortName() + "'"); }
+                    if(bn.getDescription() != null){ s.append(" description='" + bn.getDescription() + "'"); }
                     s.append(" />\n");
                 }
                 s.append("          </bins>\n");    


More information about the HepData-svn mailing list