-
Notifications
You must be signed in to change notification settings - Fork 22
*Common issues and fixes
Biafra Ahanonu edited this page Jan 28, 2019
·
13 revisions
Page outlines some common issues that may be encountered due to MATLAB, Fiji, or other quirks specific to the computing environment of calciumImagingAnalysis
.
- If you get a
java.lang.OutOfMemoryError: GC overhead limit exceeded
style error (see below) when trying to open a movie withMiji
, make sure that you initialize MATLAB in thecalciumImagingAnalysis
path or place thejava.opts
file in your MATLAB start-up folder. - This increases the amount of memory allocated so that Java doesn't run out when using Miji to load movies.
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.lang.AbstractStringBuilder.<init>(Unknown Source)
at java.lang.StringBuilder.<init>(Unknown Source)
- If when trying to download using
downloadCnmfGithubRepositories.m
the below error is encountered, try to rundownloadCnmfGithubRepositories
several more times aswebsave
(MATLAB built-in function) sometimes momentarily does not obtain the correct write permissions and fails.
@@@@@@@
Error using websave (line 104)
Unable to open output file: 'signal_extraction\cnmfe.zip' for writing. Common reasons include that the file exists and does not have write permission or the folder does not have write permissions.
- MATLAB changed
uitables
internal implementation, hencefindjobj
(File Exchange function) broke causingreorderableListbox
(File Exchange function) to also break. An updatedfindjobj
has been added to thecalciumImagingAnalysis
repository and this error (see below) should no longer occur.
Error in reorderableListbox (line 127)
jScrollPane = jScrollPane(1);
- The below error occurs when the wrong version of
Fiji
is downloaded. Please 2015 December 22 version download from https://imagej.net/Fiji/Downloads as that implementation ofMiji.m
appears to work correctly with MATLAB.
@@@@@@@
Error using javaObject
No class MIJ can be located on the Java class path
- It is likely that the regular expression given to
calciumImagingAnalysis
does not match any of the files in the folder being analyzed. - For example, in
viewMovie
, the belowImage movie regexp
setting should be changed toconcat
correspond to the demo raw imaging data's name.
- The contrast (e.g. min/max) are estimated automatically from movie data, but will not always be the optimal display for manual human sorting of data. To improve the contrast, press
q
while in the interface and adjust the min/max values until you are in a satisfactory range. See below.
Default contrast:
Contrast after user editing:
- This normally occurs when
transfturboreg
is selected as theregistrationFxn
, in some Windows editions and OSX versions this leads to random baseline shifts. If this occurs changeregistrationFxn
toimtransform
. See below (green selected option).