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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Nov 27 11:16:57 GMT 2013


Author: whalley
Date: Wed Nov 27 11:16:57 2013
New Revision: 1715

Log:
removing ge and le conversion as they were not recognized by jdom.SAXbuiler

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	Thu Nov 21 17:48:02 2013	(r1714)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/HepMLFormatter.java	Wed Nov 27 11:16:57 2013	(r1715)
@@ -44,8 +44,8 @@
             s.append("      <modification who='" + mod.getModifier() + "' when='" + mod.getComment() + "' />\n");
         }
         for (String cr : p.getComments()){
-            cr=cr.replaceAll(">=","≥");
-            cr=cr.replaceAll("<=","≤");
+        //    cr=cr.replaceAll(">=","≥");
+        //    cr=cr.replaceAll("<=","≤");
             cr=cr.replaceAll(">",">");
             cr=cr.replaceAll("<","<");
             s.append("      <comment>\n");    
@@ -67,8 +67,8 @@
         for (Dataset ds : p.getDatasets()){
             s.append("      <dataset id='ds-99-" + ds.getId() + "' datasetId='" + ds.getId() + "'>\n");    
             for (String ct : ds.getComments()){
-                ct=ct.replaceAll(">=","≥");
-                ct=ct.replaceAll("<=","≤");
+             //   ct=ct.replaceAll(">=","≥");
+             //   ct=ct.replaceAll("<=","≤");
                 ct=ct.replaceAll(">",">");
                 ct=ct.replaceAll("<","<");
                 s.append("        <comment>\n");    
@@ -158,8 +158,8 @@
                     s.append("          </reaction>\n");    
                 }
                 for (String cy : yax.getComments()){
-                    cy=cy.replaceAll(">=","≥");
-                    cy=cy.replaceAll("<=","≤");
+                 //   cy=cy.replaceAll(">=","≥");
+                 //   cy=cy.replaceAll("<=","≤");
                     cy=cy.replaceAll(">",">");
                     cy=cy.replaceAll("<","<");
                     s.append("          <comment>\n");    


More information about the HepData-svn mailing list