|
[HepData-svn] r1633 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formatsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Jun 11 16:16:17 BST 2013
Author: whalley Date: Tue Jun 11 16:16:17 2013 New Revision: 1633 Log: fix to make total + stat error work Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java Thu May 30 11:43:11 2013 (r1632) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java Tue Jun 11 16:16:17 2013 (r1633) @@ -272,7 +272,8 @@ } } else if(nerr == 2) { - s.append(" (DSYS="); + if(err.getSourceType().toString().equals("statistical")) { s.append(" (STAT="); } + else { s.append(" (DSYS="); } // if(err.isSymmetric()) {s.append(err.getPlus() + norm);} // else{s.append("+" + err.getPlus() + norm + ",-" + err.getMinus() + norm);} if(err.isSymmetric()) {s.append(f_plus + norm);}
More information about the HepData-svn mailing list |