|
[HepData-svn] r1671 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formatsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue 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 |