Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialise pmod structure in pspm_glm #195

Closed
dominikbach opened this issue Feb 22, 2021 · 0 comments · Fixed by #700
Closed

Initialise pmod structure in pspm_glm #195

dominikbach opened this issue Feb 22, 2021 · 0 comments · Fixed by #700
Assignees

Comments

@dominikbach
Copy link
Contributor

Feature Description

When multiple onset files are combined in pspm_get_timing, then the consistency of the variable "names" is checked: this must have the same values across all sessions. However, associated "pmod" are not checked.
This can lead to the following edge case (see issue #191): a particular condition only occurs in session k. Only the condition file for that session defines an associated pmod. This leads to an error in pspm_glm if k > 1.
The pmod structure should be initialised based on the pmods in all sessions.
For more details see #191.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants