Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #670 and fixes #672 .
Changes proposed in this pull request:
pspm_get_markerinfo
#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 inpspm_check_data
to catch such cases.pspm_combine_markerchannels
which creates a char rather than cell array formarkerinfo.name
. This was fixed.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 Unify function output #689.