[HepData-svn] r1454 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue May 17 15:18:33 BST 2011


Author: whalley
Date: Tue May 17 15:18:33 2011
New Revision: 1454

Log:
do not make check for IN for the reaction

Modified:
   trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java	Thu May  5 16:32:24 2011	(r1453)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java	Tue May 17 15:18:33 2011	(r1454)
@@ -111,7 +111,7 @@
             List <String> storelist = new ArrayList();
             // first add the comment elements (strings)
             for (String comment : y.getComments()){
-                if(comment.indexOf(" IN ") > 0){
+                if(!comment.startsWith("RE") && comment.indexOf(" IN ") > 0){
                     int len = comment.length();
                     int ip1 = comment.indexOf(" IN ");
                     int ip2 = comment.indexOf(" : ");


More information about the HepData-svn mailing list