huppertt / nirs-toolbox

Toolbox for fNIRS analysis
89 stars 61 forks source link

New version not working #6

Open asalameh1 opened 3 years ago

asalameh1 commented 3 years ago

Describe the bug This problem happened when I updated to the new version. when I run

data = jobs.run(hb);

I receive this error.

A clear and concise description of what the bug is.

Undefined function 'isnan' for input arguments of type 'table'.

Error in nirs.modules.AR_IRLS/runThis (line 70) X(find(isnan(X)))=0;

Error in nirs.modules.AbstractModule/run (line 87) out = obj.runThis( obj.prevJob.run(inputs ) );

Error in nirs.modules.AbstractModule/run (line 87) out = obj.runThis( obj.prevJob.run(inputs ) );

Error in nirs.modules.GLM/runThis (line 139) S=j.run(data);

Error in nirs.modules.AbstractModule/run (line 77) out = obj.runThis( inputs );

Error in acute_analysis (line 29) subj_stats = glm_job.run(hb_data);

70 X(find(isnan(X)))=0;

bbreeze25 commented 3 years ago

similar issue here