klasma / BaxterAlgorithms

Software for segmentation, tracking and analysis of cells in microscope image sequences.
MIT License
40 stars 13 forks source link

Parallel processing does not work in deployed applications #1

Open klasma opened 5 years ago

klasma commented 5 years ago

When the user tries to use multiple cores in GUIs that support parallel processing, there is an error. The error occurs because the program cannot find the java class which is used to create the progress bar. The bug is probably solved by either adding the folder with the java class to the deployment project, or by adding the folder to the java class path before deploying. A workaround is to select one core in the GUIs so that parallel processing is not used.

parallel_processing_error

klasma commented 5 years ago

The problem is solved by adding the folder with the java class to the Matlab java class path. That can be done by running BaxterAlgorithms.m and adding the path when prompted.

klasma commented 5 years ago

I thought that I had fixed this, but when I tested, I tested on a computer where the java files were available on the java class path of Matlab. I probably need to add the java files to the deployment project.