Ignore:
Timestamp:
2019-04-22T14:58:53+12:00 (5 years ago)
Author:
cpb16
Message:

Completed numpages checking. Generated makefiles and scripts to streamline process. Need to now fix 'no such file or directory error from the RUN-META.sh file'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/is-sheet-music-encore/trunk/java-gen-corpus/TabRndListGen.java

    r33007 r33031  
    1212    try{
    1313        if (args.length != 3){
    14         System.out.println("Usage: RandomItemSelecta <inputFilename> <outputCount> <outputFilename>");
     14        System.out.println("Usage: TabRndListGen <inputFilename> <outputCount> <outputFilename>");
    1515        }
    1616        else{
     
    2727        ArrayList<String> subList;
    2828        String line = null;
     29        String[] item;
    2930
    3031        //Add items to Array
    3132        while ((line = buf.readLine()) != null) {
    32             list.add(line);     
     33            //Split line by tab
     34            item = line.split("\t", -1);
     35            //Add first element (ID)
     36            list.add(item[0]);     
    3337        }
    3438        //randomize list
Note: See TracChangeset for help on using the changeset viewer.