@@ -82,11 +82,15 @@ public static void blockTask(String inputPath, String metadataPath, String outpu
8282 BoundingBox bb = new BoundingBox (Util .long2int (binfo .getMin ()), Util .long2int (binfo .getMax ()));
8383 System .out .println ("Bounding box created: " +bb .toString ());
8484 List <ViewId > viewIds = md .getViewIds () ;
85- System .out .println ("get view ids " );
85+ System .out .println ("Got view ids " );
8686
8787 XMLFile inputFile = XMLFile .XMLFile (inputPath , bb , md .getDownsample () , viewIds );
88+
89+ System .out .println ("Input loaded. " );
8890// XMLFile inputFile = XMLFile.XMLFile(inputPath);
8991 RandomAccessibleInterval <FloatType > block = inputFile .fuse (bb );
92+
93+ System .out .println ("Got block. " );
9094 N5File outputFile = N5File .open (outputPath );
9195 outputFile .saveBlock (block , binfo .getGridOffset ());
9296 System .out .println ("Task finished " +id );
@@ -130,8 +134,8 @@ public static void generateN5fromXML(String inputPath, String metadataPath, Stri
130134
131135 public static void main (String [] args ) {
132136// new ImageJ();
133- String str = "-t proc -i /Users/Marwan/Desktop/Task/grid-3d-stitched-h5/dataset.xml -o /Users/Marwan/Desktop/Task/output.n5 -m /Users/Marwan/Desktop/Task/metadata.json -id 1" ;
137+ // String str = "-t proc -i /Users/Marwan/Desktop/Task/grid-3d-stitched-h5/dataset.xml -o /Users/Marwan/Desktop/Task/output.n5 -m /Users/Marwan/Desktop/Task/metadata.json -id 1";
134138// System.out.println(String.join(" ", args));
135- CommandLine .call (new MainJob (), str . split ( " " ) );
139+ CommandLine .call (new MainJob (), args );
136140 }
137141}
0 commit comments