|
[HepData-svn] r1571 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formatsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Sep 11 11:50:43 BST 2012
Author: whalley Date: Tue Sep 11 11:50:43 2012 New Revision: 1571 Log: adding DOI to the bdms output formatter Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java Fri Aug 31 12:50:56 2012 (r1570) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java Tue Sep 11 11:50:43 2012 (r1571) @@ -48,6 +48,7 @@ if(p.getSpiresId()!=null) s.append("IRN = " + p.getSpiresId() + ";\n"); if(p.getInspireId()!=null) s.append("INS = " + p.getInspireId() + ";\n"); + if(p.getDOI()!=null) s.append("DOI = " + p.getDOI() + ";\n"); for (Dataset ds : p.getDatasets()){ StringBuffer h = new StringBuffer();
More information about the HepData-svn mailing list |