
If you haven't tested it, you should do so (you can put in a command like "print(list)" in the place of your actual macro while you test that you've got the file finding section working. I would like to batch each "processed" folder within each of the "variable" folders.Īny help would be greatly appreciated, I am really new to coding and am just really trying to learn and automate as much as possible.ĭid you try the batch processing scripts you came across? Reading the batch processing example which is provided with ImageJ leads me to believe it would work for your example. I am currently running my macro on each of the "processed" folders individually. It would be great if I could merge those, but I am don't know how to do that either. Also, I have two different scripts that I need to run, one after the other. The images come from the instrument without any metadata, so the files are saved as such to separate the experiments, where all data for the experiment is contained within the parent folder. I only need to process one folder within each directory (all named the same).


I have looked up some batch processing of multiple folders, but it appears that the code is processing all folders and files within all of the folders. I currently need to process each folder separately, but I would like to batch process over the folders. I am using an ImageJ macro script to batch process all of the image files within one of those folders. I have a nested file structure where a parent folder contains multiple folders of different types of data.
