SAND-Lab / MEA-NAP

MEA-NAP. A streamlined diagnostic and analytic tool for data obtained using microelectrode arrays.
GNU General Public License v3.0
12 stars 6 forks source link

Error before step 2B #52

Closed adampavlinek closed 2 months ago

adampavlinek commented 3 months ago

Hi, I'm getting the following error in the pipeline, I think it's before step 2B:

Error using eval Unrecognized function or variable 'ColOpt11'.

Error in PlotEphysStats (line 40) eval(['cDiv' num2str(ii) '= ColOpt' num2str(round(1+(nColOpt/nDIV)*(ii-1))) ';']);

Error in MEApipeline (line 333) PlotEphysStats(ExpName,Params,HomeDir, oneFigureHandle)

Timothysit commented 2 months ago

Hi, seems like you are analysing data with more than 10 different DIVs? When we first wrote the pipeline we didn't anticipate more than 10 DIVs will be used in the analysis, hence this error (asking for the 11th colour in a colourmap). But I have now modified the code that should allow for it, I haven't tested it thoroughly yet, but give it a go and let me know if it errors, otherwise I will also run a test on it some time this week. Thanks!

adampavlinek commented 2 months ago

Thanks I think that worked!