CenterForDigitalHumanities / SpectralRTI_Toolkit

Process Spectral RTI Images in ImageJ
GNU General Public License v3.0
1 stars 0 forks source link

HSHFitter for Linux #88

Closed thanneken closed 5 years ago

thanneken commented 5 years ago

It turns out is is possible to compile hshfitter on Linux. It lacks the .exe extension, so the plugin says "Try Again" It would be good to support the Linux version by dropping the check for the .exe file extension.

thanneken commented 5 years ago

Similarly, webGLRtiMaker can be compiled for Linux. However, Linux care about caps and the plugin calls for webGLRTIMaker, should be webGLRtiMaker (lowercase ti).

thanneken commented 5 years ago

temporary workaround is: ln -s hshfitter hshfitter.exe and ln -s webGLRtiMaker webGLRTIMaker.exe

thanneken commented 5 years ago

This is also an issue on MacOS. The hshfitter available lacks the .exe extension. The plugin should be open to a file that begins hshfitter with or without the extension, ignore case.

thehabes commented 5 years ago

I was able to smooth out the caps issue.

The check is now

String preferredFitterCheck = preferredFitter.toLowerCase();
if (preferredFitterCheck.endsWith("hshfitter.exe") || preferredFitterCheck.endsWith("hshfitter"))
thanneken commented 5 years ago

looks good