Show
Ignore:
Timestamp:
24.01.2017 23:12:00 (3 years ago)
Author:
davidb
Message:

Tidy up on appending missing volumes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/wcsa/vol-checker/src/org/hathitrust/extractedfeatures/VolumeCheck.java

    r31355 r31356  
    5656        } 
    5757         
    58         id = id.replaceAll("\\+", ":").replaceAll("=", "/"); 
     58        id = id.replaceAll(",",".").replaceAll("\\+", ":").replaceAll("=", "/"); 
    5959         
    6060        return id; 
     
    235235            PrintWriter pw = response.getWriter(); 
    236236            pw.append(workset_friendly_sb.toString()); 
    237             pw.append("## The following volumes are not in the HTRC Extracted Feature dataset\n"); 
    238             pw.append(workset_unfriendly_sb.toString()); 
     237             
     238            if (workset_unfriendly_sb.length()>0) { 
     239                pw.append("## The following volumes were listed in the HT collection, but have been omitted as they are not in the HTRC Extracted Feature dataset\n"); 
     240                pw.append(workset_unfriendly_sb.toString()); 
     241            } 
    239242        } 
    240243        catch (Exception e) {