Skip to content
Snippets Groups Projects
Commit 9d382471 authored by Marius Hintsche's avatar Marius Hintsche
Browse files

fix call to single file function

parent d9548900
No related branches found
No related tags found
No related merge requests found
......@@ -29,14 +29,13 @@ function processFolder(input) {
if(File.isDirectory(input + list[i]))
processFolder("" + input + list[i]);
if(endsWith(list[i], extension))
processFile(input, outputDir, list[i]);
processFile(input+ list[i], outputDir);
}
}
// Single file projections
function processFile(inputFile,basePath) {
// open input input file
open(inputFile);
run("Bio-Formats Importer", "open="+inputFile+" color_mode=Default rois_import=[ROI manager] view=Hyperstack stack_order=XYCZT use_virtual_stack");
inputID = getImageID();
......@@ -64,7 +63,7 @@ if (dotIndex >= 0) {
progressTitle = "[Progress]";
run("Text Window...", "name="+ progressTitle +" width=30 height=3 monospaced");
print(progressTitle,"\\Update:0/"+iMax+" substacks (0%)\n"+getBar(0, 100));
print("Calculating the grouped "+method+" projection...");
print("Calculating the grouped "+method+" projection for\n"+inputFile+"...");
setBatchMode(true);
tStart = getTime();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment