Changeset 7914


Ignore:
Timestamp:
03/05/12 10:30:49 (8 years ago)
Author:
kbriney
Message:

Cleaned up comments in prairieInjector.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/prairie-ome-tiff/src/main/java/loci/apps/prairie/PrairieInjector.java

    r7897 r7914  
    6464 
    6565  public static void main(String[] args) throws Exception { 
    66 args = new String[] { "C:\\Users\\Kristin\\Documents\\Dropbox\\LOCI\\TestingFiles\\24Feb2012\\Test2\\TSeries-09022010-170_Cycle001_CurrentSettings_Ch1_000001.tif"};//\\TIFF-001_Cycle001_CurrentSettings_Ch1_000001.tif" }; 
    67 //    System.setProperty("plugins.dir", "C:\\Program Files (x86)\\ImageJ\\plugins"); 
    68 //    new ImageJ(); 
    69 //    System.out.println("Instance = " + IJ.getInstance()); 
    70  
    71 //    String infile; 
    72 //    String outfile; 
    73  
    74 //    BufferedReader reader; 
    75 //    reader = new BufferedReader(new InputStreamReader(System.in)); 
    76 // 
    77 //    System.out.println("What is name of input file? "); 
    78 //    infile = reader.readLine(); 
    79 // 
    80 //    System.out.println("What is name of output file? "); 
    81 //    outfile = reader.readLine(); 
    82  
    83         //String[] myArgs = {infile, outfile}; 
    84 //      "C:\\users\\Kristin\\Documents\\Dropbox\\LOCI\\DataFromJoe\\TIFF-001\\TIFF-001_Cycle001_CurrentSettings_Ch1_000001.tif", 
    85 //      "C:\\users\\Kristin\\Documents\\Dropbox\\LOCI\\DataFromJoe\\TIFF-001\\TestConvert.ome.tif"}; 
    86 //    ImageInfo.main(myArgs); 
    87  
    88  
    89     // LAUNCH PROGRAM WITH: 
    90     // java -cp loci_tools.jar;prairie-injector.jar loci.apps.prairie.Injector myPrairieData.xml 
    91  
    92 //    JFileChooser chooser = new JFileChooser(); 
    9366    ImageReader reader = new ImageReader(); 
    9467 
     
    10174    // associate that store with the reader 
    10275    reader.setMetadataStore(meta); 
    103  
    104     //String[] myargs={"C:\\Users\\Kristin\\Documents\\Dropbox\\LOCI\\TestingFiles\\20Feb2012\\TIFF-001_Cycle001_CurrentSettings_Ch1_000001.tif"}; 
    10576     
    10677    // parse the Prairie dataset, populating the metadata store 
     
    159130      // write out the XML to the TIFF 
    160131      String xml = omexmlService.getOMEXML(meta); 
    161       //XMLTools.validateXML(xml);                                                      // TEMPORARY to make sure it is correct 
    162132      RandomAccessInputStream in = new RandomAccessInputStream(file); 
    163133      TiffSaver tiffSaver = new TiffSaver(file); 
     
    165135      in.close(); 
    166136    } 
    167  
    168  
    169 //    JFileChooser chooser = GUITools.buildFileChooser(reader, true); 
    170 //    int returnVal = chooser.showOpenDialog(null); 
    171  
    172 //    ImageConverter.main(myArgs); 
    173  
    174 //    PrairieReader r = new PrairieReader(); 
    175 //    r.setId(myFile); 
    176137  } 
    177138 
Note: See TracChangeset for help on using the changeset viewer.