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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Jun 27 15:18:51 BST 2012


Author: whalley
Date: Wed Jun 27 15:18:51 2012
New Revision: 1554

Log:
and more for the input formatter

Modified:
   trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/InputFormatter.java

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/InputFormatter.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/InputFormatter.java	Wed Jun 27 14:34:12 2012	(r1553)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/InputFormatter.java	Wed Jun 27 15:18:51 2012	(r1554)
@@ -154,7 +154,7 @@
                         s.append(store[0][i]);
                         for(int ny=1; ny<nyax; ny++){
                            String right = store[ny][i].split("\\s*\\:\\s")[1];
-//                           String right = store[ny][i];
+                           if(!store[0][i].startsWith("*yheader")) {right = store[ny][i].split("\\s*\\:\\s")[2];}
                             s.append(" : "+right);
                         }
                         s.append("\n");


More information about the HepData-svn mailing list