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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Jun 10 13:54:43 BST 2015


Author: whalley
Date: Wed Jun 10 13:54:43 2015
New Revision: 1864

Log:
point to hepdata directory!

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	Wed Jun 10 13:49:11 2015	(r1863)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/formats/YamlFormatter.java	Wed Jun 10 13:54:43 2015	(r1864)
@@ -41,8 +41,8 @@
         boolean first=true;
         for (int i=0; i<descs.length; i++){
             for(int j=0; j<ids.length; j++){
-                String descfile = "/home/whalley/resource/" +ids[j] + "/" + descs[i];
-                String linkfile = "/home/whalley/resource/" +ids[j] + "/" + links[i];
+                String descfile = "/home/hepdata/resource/" +ids[j] + "/" + descs[i];
+                String linkfile = "/home/hepdata/resource/" +ids[j] + "/" + links[i];
                 File testdesc = new File(descfile);
                 File testlink = new File(linkfile);
                 String desc="";
@@ -76,7 +76,7 @@
 // next the insert.html file in the resource area
        first=true;
        for (int j=0; j<ids.length; j++){
-           String insertfile = "/home/whalley/resource/" +ids[j] + "/insert.html";
+           String insertfile = "/home/hepdata/resource/" +ids[j] + "/insert.html";
            File testinsert = new File(insertfile);
            String insert="";
            if(testinsert.exists()){


More information about the HepData-svn mailing list