670 was caused by a faulty markerinfo structure in a file that had been preprocessed multiple times. It is unclear what caused this faulty structure; it did not appear when the file was re-imported. Added a check for the markerinfo structure in pspm_check_data to catch such cases.
A potential root cause for (1) is the function pspm_combine_markerchannels which creates a char rather than cell array for markerinfo.name. This was fixed.
672 was caused in pspm_get_timing, called by pspm_check_model. This check will fail because at this point, the data (and therefore, the markerinfo structure) has not yet been loaded. pspm_check_model is now adapted.
A bug in pspm_cfg_run_glm was removed.
Option to work on multiple data files for pspm_combine_markerchannels was removed, in line with #689.
Fixes #670 and fixes #672 .
Changes proposed in this pull request:
670 was caused by a faulty markerinfo structure in a file that had been preprocessed multiple times. It is unclear what caused this faulty structure; it did not appear when the file was re-imported. Added a check for the markerinfo structure in
pspm_check_data
to catch such cases.pspm_combine_markerchannels
which creates a char rather than cell array formarkerinfo.name
. This was fixed.672 was caused in
pspm_get_timing
, called bypspm_check_model
. This check will fail because at this point, the data (and therefore, the markerinfo structure) has not yet been loaded.pspm_check_model
is now adapted.pspm_cfg_run_glm
was removed.pspm_combine_markerchannels
was removed, in line with #689.