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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Mon May 13 15:14:39 BST 2013


Author: whalley
Date: Mon May 13 15:14:39 2013
New Revision: 1620

Log:
new bdmformatter

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	Tue Apr 30 12:10:44 2013	(r1619)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java	Mon May 13 15:14:39 2013	(r1620)
@@ -188,10 +188,11 @@
                         }
                         if(ds.getXAxis(nx+1).getBin(i+1).getFocus() != null){
                             s.append(" " + ds.getXAxis(nx+1).getBin(i+1).getFocus());
-                            if(ds.getXAxis(nx+1).getBin(i+1).getWidth() != null && ds.getXAxis(nx+1).getBin(i+1).getWidth() != 0.0){
-                                s.append(" +- " + ds.getXAxis(nx+1).getBin(i+1).getWidth());
-                            } 
-                            else if(ds.getXAxis(nx+1).getBin(i+1).getLowValue() != null 
+//                            if(ds.getXAxis(nx+1).getBin(i+1).getWidth() != null && ds.getXAxis(nx+1).getBin(i+1).getWidth() != 0.0){
+//                                s.append(" +- " + ds.getXAxis(nx+1).getBin(i+1).getWidth());
+//                            } 
+//                            else if(ds.getXAxis(nx+1).getBin(i+1).getLowValue() != null 
+                            if(ds.getXAxis(nx+1).getBin(i+1).getLowValue() != null 
                                 && ds.getXAxis(nx+1).getBin(i+1).getHighValue() != null 
                                 && !ds.getXAxis(nx+1).getBin(i+1).getLowValue().equals(ds.getXAxis(nx+1).getBin(i+1).getHighValue())){
                                 s.append(" (BIN=" + ds.getXAxis(nx+1).getBin(i+1).getLowValue() + " TO " + ds.getXAxis(nx+1).getBin(i+1).getHighValue() + ")");                   


More information about the HepData-svn mailing list