Closed thanneken closed 6 years ago
I had run into this before, it should be fixed with the version of the plugin I upload today. I must have left an older version in master. I will try to replicate this in my next round of testing.
Just encountered the same bug, this time on Windows 10, 16 GB RAM.
This code in particular broke on
WindowManager.getImage("PCA of Captures-Narrowband-NoGamma kept stack").setRoi(pcaX,pcaY,pcaWidth,pcaHeight);
The null error happens because in this case the window's name is "PCA of Captures-Narrowband-NoGamma", so WindowManager.getImage recognized this as a null window. The "kept stack" window is not available yet. Moved this bit of code after PCA of Captures-Narrowband-NoGamma rename to PCA of Captures-Narrowband-NoGamma kept stack.
This is fixed.
Testing on Ubuntu, 4K display, 32 GB RAM... Selected process for PCA "generate and manually select two" Plugin created "PCA of Captures-Narrowband-NoGamma" stack Crashed before prompting to delete all slices except two. Last in Log:
[Sun Apr 08 16:34:57 CDT 2018] [INFO] [] Got PCA method: Generate and manually select two
Last in Console:By the way, for testing purposes you could save time and RAM by culling the Narrowband and Fluorescence folders to about 3-5 files total.