Commit in CDMS/src/CDMS/ImageNavigatorII on MAIN
Stitcher.java+9-51.4 -> 1.5
now outputs info.txt which passes info to Tiler.java.

CDMS/src/CDMS/ImageNavigatorII
Stitcher.java 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- Stitcher.java	29 Jul 2010 18:26:00 -0000	1.4
+++ Stitcher.java	30 Jul 2010 23:31:31 -0000	1.5
@@ -30,14 +30,13 @@
     public static void main(String[] args) throws IOException {
     	Date startDate = new Date();
 		//read in the file and create a list of command lines (split by SET_PART_REPEAT)(dont use arg 0)
-	    String imagePath = "/nfs/farm/g/ee/u15/cdms/CDMS_ImageNavigator/IZipG47_Side1_Al/";
-    	String savePath = "/nfs/farm/g/ee/u15/cdms/CDMS_ImageNavigatorII/wilenc/IZipG47_Side1_Al/";
-	    String autorunFile = "Autorun_IZipG47_Side1_Al_23July10.txt";
-    	String imageFileName = "/"+"IZipG47_Side1_Al-#.png";
+	    String imagePath = "/nfs/farm/g/ee/u15/cdms/CDMS_ImageNavigator/IZipG47_Side2_Al/";
+    	String savePath = "/nfs/farm/g/ee/u15/cdms/CDMS_ImageNavigatorII/IZipG47_Side2_Al/";
+	    String autorunFile = "Autorun_IZipG47_Side2_Al_23July10.txt";
+    	String imageFileName = "/"+"IZipG47_Side2_Al-#.png";
         double theta = Math.atan(2/640);
 	    double pxSize = 1.397/1000;	//x75.3 magnification: 5.452um | x293 magnification: 1.397um
     	
-    	
 		String[] lines = getLines(imagePath+"/"+autorunFile);
 	    
 	    //split the arguments of each line into a list of arguments: number of repeats in row, corrected start X value
@@ -144,6 +143,11 @@
 
         Date endDate = new Date();
     	System.out.println("\nRuntime: "+(endDate.getTime()-startDate.getTime())/1000/60);
+    	try {
+    	    BufferedWriter out = new BufferedWriter(new FileWriter(savePath+"/info.txt"));
+    	    out.write(Math.ceil(totalW/tileW)+"\n"+Math.ceil(totalH/tileH)+"\n"+tileW+"\n"+tileH+"\n"+savePath);
+    	    out.close();
+    	} catch (IOException e) {System.out.println("Could not create info.txt:\n"+e);}
     }
     
     //takes an input path and returns a list of values split by the SET_PART-REPEAT
CVSspam 0.2.8