Show
Ignore:
Timestamp:
26.10.2016 18:00:53 (3 years ago)
Author:
davidb
Message:

Need to specify _output_dir as part of output JSON filename

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/solr-extracted-features/trunk/src/main/java/org/hathitrust/PagedJSON.java

    r30951 r30953  
    100100            } 
    101101             
    102              
    103              
    104102            String output_json_bz2 = page_json_dir +"/" + formatted_i + ".json.bz2"; 
    105103            ids.add(output_json_bz2); 
     
    112110            JSONObject ef_page = ef_pages.getJSONObject(i); 
    113111            try { 
    114                 BufferedWriter bw = ClusterFileIO.getBufferedWriterForCompressedFile(output_json_bz2); 
     112                BufferedWriter bw = ClusterFileIO.getBufferedWriterForCompressedFile(_output_dir + "/" + output_json_bz2); 
    115113                bw.write(ef_page.toString()); 
    116114                bw.close();