Commit 42058891 authored by Andrey Filippov's avatar Andrey Filippov

Improved reporting/logging results

parent b70fdc39
...@@ -183,9 +183,13 @@ public class CalibrationFileManagement { ...@@ -183,9 +183,13 @@ public class CalibrationFileManagement {
} }
public static void saveStringToFile (String path,String data){ public static void saveStringToFile (String path,String data){
saveStringToFile (path, data, false);
}
public static void saveStringToFile (String path,String data, boolean append){
BufferedWriter writer = null; BufferedWriter writer = null;
try { try {
writer = new BufferedWriter( new FileWriter( path)); writer = new BufferedWriter( new FileWriter( path, append));
writer.write( data); writer.write( data);
} catch ( IOException e) { } catch ( IOException e) {
......
...@@ -3711,7 +3711,7 @@ public class OrthoMap implements Comparable <OrthoMap>, Serializable{ ...@@ -3711,7 +3711,7 @@ public class OrthoMap implements Comparable <OrthoMap>, Serializable{
final int blank_xy, // final int blank_xy, //
final int [] wh, // result size final int [] wh, // result size
final int debugLevel){ final int debugLevel){
final int dbg_x = 1144; // -2668; final int dbg_x = -1144; // -2668;
final int dbg_y = 199; // 256; final int dbg_y = 199; // 256;
final int height = data.length/width; final int height = data.length/width;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment