[HepData-svn] r1337 - in trunk/hepdata-webapp/src/main: java/cedar/hepdata/formats resources/cedar/hepdata/webapp/pages

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Jan 13 15:01:38 GMT 2010


Author: whalley
Date: Wed Jan 13 15:01:38 2010
New Revision: 1337

Log:
more bits and pieces

Modified:
   trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java
   trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/ViewTest.tml

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java	Tue Jan 12 09:03:52 2010	(r1336)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java	Wed Jan 13 15:01:38 2010	(r1337)
@@ -59,6 +59,10 @@
 	            if(ds.getDsObservableString(n) != null){ s.append(ds.getDsObservableString(n) + "\n"); }
 	            else{ break; }	
             }
+            for (int n=1; ; n++){
+	            if(ds.getDsPlabString(n) != null){ s.append(ds.getDsPlabString(n) + "\n"); }
+	            else{ break; }	
+            }
     	} 
 
         return s.toString();

Modified: trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/ViewTest.tml
==============================================================================
--- trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/ViewTest.tml	Tue Jan 12 09:03:52 2010	(r1336)
+++ trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/ViewTest.tml	Wed Jan 13 15:01:38 2010	(r1337)
@@ -87,6 +87,12 @@
           ${dataset.getDsReactions()} 
           <br/>
           ${dataset.getDsObservables()} 
+ <!--
+          <br/>
+          ${dataset.getDsPlabs()} 
+-->
+          <br/>
+          ${dataset.getYAxis(1).getReactions()} 
           <t:datasetAsHtml dataset="dataset" format="${format}" />
         </div>
       </t:loop>


More information about the HepData-svn mailing list