Login  Register

Re: Mac vs Windows VirtualStack behaviour

Posted by John Minter on Jun 26, 2019; 12:55am
URL: http://imagej.273.s1.nabble.com/Mac-vs-Windows-VirtualStack-behaviour-tp5022264p5022269.html

I can't get it to work on Windows either.

lines 30-37 in
https://github.com/imagej/imagej1/blob/master/ij/VirtualStack.java
shows us what is supposed to happen. It is not clear to me what the
lsdy path should be.
I tried a directory and a full name for a tiff stack file. No joy.

/** Creates an empty virtual stack. */
public VirtualStack(int width, int height, ColorModel cm, String path) {
super(width, height, cm);
this.path = path;
names = new String[INITIAL_SIZE];
labels = new String[INITIAL_SIZE];
//IJ.log("VirtualStack: "+path);

Perhaps Wayne could help us with a minimal reproducible example.
I tried a full pathname for the stack and that didn't work. Sorry I
cannot be of more help.
I'll probably do a Homer Simpson "Doh!" when Wayne explains it to us...

John

}

On Tue, Jun 25, 2019 at 6:35 PM otills <[hidden email]> wrote:

>
> Thank you for this pointer John.
>
> I have tried replacing '/' in that line with 'D:/parentFolder/' and then
> modifying the relative file paths in the file list being used to reference
> file accordingly (to account from starting from a different position in the
> file system). This did not work. Where am I going wrong?
>
>
>
> --
> Sent from: http://imagej.1557.x6.nabble.com/
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html