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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Jun 16 15:44:38 BST 2015


Author: whalley
Date: Tue Jun 16 15:44:38 2015
New Revision: 1870

Log:
adding Rivet link

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

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/YamlFormatter.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/YamlFormatter.java	Tue Jun 16 15:22:37 2015	(r1869)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/YamlFormatter.java	Tue Jun 16 15:44:38 2015	(r1870)
@@ -138,6 +138,7 @@
                     s.append("'\n");
                 }
             }
+            if(p.getHaveRivet()) s.append(sp+"'http://rivet.hepforge.org/analyses#"+p.getRivetName()+"'\n");
         }
         if(p.getModifications().size()>0){
             s.append("modifications: # what, by whom and when encoded or changed\n");


More information about the HepData-svn mailing list