Issue with macro

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issue with macro

johnthelast
I'm executing a macro and most of the time it seems to work just fine. But occasionally it fails with a "Unsupported format or file not found"

In this case, the error pointed to D:\2026-07-24 Test\EV Lac\Calibrations in line 66:

line 66 is "run("Image Sequence...", "open=[" + inDir + "] filter=" + flt + " sort use");

Debug window is:

arg * "D:/2026-07-24 Test/EV Lac|EV Lac|C:/ProgramData/AstroImageJ|_cal.fits"
parts * array[4]
pi * 4
inDir * "D:/2026-07-24 Test/EV Lac/"
star * "EV Lac"
aijDir * "C:/ProgramData/AstroImageJ/"
resultsDir * "D:/2026-07-24 Test/EV Lac/RESULTS/"
aijResults * "D:/2026-07-24 Test/EV Lac/RESULTS/AIJ/"
filters * array[1]
fi * 0
flt * "_cal.fits"
nMatch * 1847


It looks like it is picking up the Directory as a file rather than skipping it. Am I just missing an option?