Closed hgxy15 closed 5 years ago
Also, I ran into some problem when running alignRaw, the program reports error parsing param0.m, the program seems to fail in finding the function BH_parseParameterFile.m, I find the function in metaData/BH_parseParameterFile.m so I guess I'm missing some steps in setting the path variable for matlab.
Best, Gaoxing
Hi Gaoxing,
The matrix dimension exceeded error is indicating that something is not entered correctly in your parameter file. Most likely, it is probably a ";" replaced with a ","
There are a number of places where higher rank matrices appear on a single line. For example a 2 x 3 (rows X columns) might look like this
someParameter=[ 0, 2 ; 1, 3 ]
When you ran the initialization did you run
$ emClarity init param0.m
And was this from a shell using a compiled version?
Please send me your logfile and your param0.m to inspect.
Hi @hgxy15 , did my response above address your problems?
Hi Ben, Sorry for the delay of this reply, I recently visited Switzerland for the tomography conference and didn't have access to the internet. I solved the init problem by exchanging the appearance order of different condition statments. The RawAlign problem I encountered reported the following: ***
emClarity version 1680e2f run starting on 21-Sep-2018 21:21:29 cmd avg param0.m 0 RawAlignment
***************************************
ans =
"The parameter file to be parsed is param0.m"
Error using emClarity>emC_testParse (line 471) error parsing parameter file param0.m
Error in emClarity (line 60) Also, what is your mostly frequently used email address? I will send the log file and the param0.m file to your email if possible. Best, Gaoxing
Hi Ben,
When running emClarity init as demonstrated in the tutorial, I ran into the matrix dimension exceeded error. I changed the if statement on line 112 of emClarity.m and recompiled the program and solved the problem. I dont know if this error is due to my matlab version (R2017b) and whether this will affect other utilities of emClarity. if strcmpi(varargin{2},'help') || strcmpi(varargin{2},'h') || ... length(varargin) ~= 2 && length(varargin) ~= 3 was changed to: if length(varargin) ~= 2 && length(varargin) ~= 3 || ... strcmpi(varargin{2},'help') || strcmpi(varargin{2},'h')