|
[HepData-svn] r1516 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/formatsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Mar 13 15:22:15 GMT 2012
Author: whalley Date: Tue Mar 13 15:22:15 2012 New Revision: 1516 Log: adding inspireId to the bdms formatter and increasing number of comments 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 Tue Mar 13 10:29:40 2012 (r1515) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/BdmsFormatter.java Tue Mar 13 15:22:15 2012 (r1516) @@ -29,7 +29,7 @@ else{ break; } } - for (int n=1; n<4; n++){ + for (int n=1; n<10; n++){ if(p.getCommentString(n) != null){ s.append(p.getCommentString(n) + "\n"); } else{ break; } } @@ -45,6 +45,7 @@ } if(p.getSpiresId()!=null) s.append("IRN = " + p.getSpiresId() + ";\n"); + if(p.getInspireId()!=null) s.append("INS = " + p.getInspireId() + ";\n"); for (Dataset ds : p.getDatasets()){ StringBuffer h = new StringBuffer();
More information about the HepData-svn mailing list |