If ImageJ (1.47t, Win7 64-bit) is closed, and I type the following at the
command prompt: C:\Users\Admin>"C:\Program Files\ImageJ\ImageJ.exe" -eval "run('TIFF Virtual Stack...', 'open=C:\\Users\\Admin\\Documents\\instant_sim\\data\\2013_06_21_test_002\\image000007.tif')' my file (image000007.tif) opens in ImageJ. If I repeat the command at the Windows command prompt (up arrow, return), sometimes the file opens again in ImageJ (the desired behavior), and sometimes the "open TIFF" GUI opens (undesired behavior). If I repeat the command several times, I seem to get a random result each time, desired behavior roughly half the time, undesired behavior the other half. On another machine, with (probably) a different version of ImageJ, I get the desired behavior reliably. What am I doing wrong? How can I get the desired behavior to happen every time? What extra information would help debug my issue? -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
On Fri, Jun 21, 2013 at 4:24 PM, Andrew York
<[hidden email]> wrote: > On > another machine, with (probably) a different version of ImageJ, I get the > desired behavior reliably. --snip-- > What extra information would help debug my issue? > The version of ImageJ which you know works reliably. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Andrew York
On Jun 21, 2013, at 4:24 PM, Andrew York wrote:
> If ImageJ (1.47t, Win7 64-bit) is closed, and I type the following at the > command prompt: > > C:\Users\Admin>"C:\Program Files\ImageJ\ImageJ.exe" -eval "run('TIFF > Virtual Stack...', > 'open=C:\\Users\\Admin\\Documents\\instant_sim\\data\\2013_06_21_test_002\\image000007.tif')' > > my file (image000007.tif) opens in ImageJ. > > If I repeat the command at the Windows command prompt (up arrow, return), > sometimes the file opens again in ImageJ (the desired behavior), and > sometimes the "open TIFF" GUI opens (undesired behavior). If I repeat the > command several times, I seem to get a random result each time, desired > behavior roughly half the time, undesired behavior the other half. On > another machine, with (probably) a different version of ImageJ, I get the > desired behavior reliably. > > What am I doing wrong? How can I get the desired behavior to happen every > time? What extra information would help debug my issue? This is an ImageJ 1.46f regression that is fixed in ImageJ 1.47u. -wayne -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Andrew York
Hi Andrew,
you could try switching on debug mode, maybe it shows the difference between the cases where it works and where it does not (in case the problem persists if there is one more command before): "C:\Program Files\ImageJ\ImageJ.exe" -eval "run('Misc...', 'divide=Infinity debug'); run('TIFF Virtual Stack...', 'open=C:\\....tif')" One more remark: In your command, after '-eval' you have double quotes, but you have single quotes instead of double quotes at the very end. I don't think that this can cause a badly reproducible problem, but who knows... Michael ________________________________________________________________ On Jun 21, 2013, at 22:24, Andrew York wrote: > If ImageJ (1.47t, Win7 64-bit) is closed, and I type the following at the > command prompt: > > C:\Users\Admin>"C:\Program Files\ImageJ\ImageJ.exe" -eval "run('TIFF > Virtual Stack...', > 'open=C:\\Users\\Admin\\Documents\\instant_sim\\data\\2013_06_21_test_002\\image000007.tif')' > > my file (image000007.tif) opens in ImageJ. > > If I repeat the command at the Windows command prompt (up arrow, return), > sometimes the file opens again in ImageJ (the desired behavior), and > sometimes the "open TIFF" GUI opens (undesired behavior). If I repeat the > command several times, I seem to get a random result each time, desired > behavior roughly half the time, undesired behavior the other half. On > another machine, with (probably) a different version of ImageJ, I get the > desired behavior reliably. > > What am I doing wrong? How can I get the desired behavior to happen every > time? What extra information would help debug my issue? > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |