Login  Register

run("image Sequence..." not working

Posted by nick44 on Jul 03, 2008; 2:55am
URL: http://imagej.273.s1.nabble.com/run-image-Sequence-not-working-tp3695676.html

I am trying to open an image sequence make some changes then save into another file
The sequences are all in one dir seq 1 to seq X with the actual images several levels down variable dir3
This all works (in other macros) but i get an error ')' expected in line 23 which is the run image seq line

Below is what I've come up with

any ideas why the error


 dir1 = getDirectory("Select the folder ");
   FolderList = getFileList(dir1);

for (o=0; o<FolderList.length; o++) {

dir3 = dir1 + FolderList[o] + "Raw Images/" + FolderList[o] + "ST000000/SE000000/";
      dir2 = dir1 + FolderList[o] + "text/";
      list = getFileList(dir3);
     
run("Image Sequence...", "open=[dir3 + "IM000000"] number=list.length starting=1 increment=1 scale=100 file=[] or=[] sort");

waitForUser("Select Slice\nThen press OK")

run("Delete Slice");
}