Sample image and/or code
(MW.txt (6.3 KB)).
- I am working on tracking cell migration with TrackMate and I would like to put together a script to run the analysis. I have minimal experience with coding and have been working on editing the script found at “Scripting TrackMate - ImageJ” (attached).
In the log output of the script I would like to be able to generate the values calculated using the “Track Analysis” .jar file.
- After adding the Track Analysis .jar to my Fiji build (http://maven.imagej.net/content/repositories/snapshots/sc/fiji/TrackMate_trackanalysis/0.0.1-SNAPSHOT/TrackMate_trackanalysis-0.0.1-20170614.171211-1.jar) the script no longer works. I am not particularly experienced with coding and do not know if I am just not importing all of the correct packages or some other simple error.
The first line of the error in the Fiji console shows:
Exception in thread “Linear track analysis thread 1”
In the Fiji macro window the errors starts with:
UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 2368-2369: ordinal not in range(128)
- The overlay tracks are still generated for my original image, but the statistics are not added to the log window. Once I delete that .jar file the script works again. I have also noticed that even when using the TrackMate plugin user interface, when trying to get the Track Analysis outputs I first get a Fiji console error, but if I recalculate the tracks by just going back to that step one more time, I am able to get the results (i.e. confinement ratio, linearity, etc.).
Thank you for all of your help, I appreciate any guidance you may have!