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

group-level results error with motion regressors #115

Open
AlexBowring opened this issue Oct 5, 2017 · 0 comments
Open

group-level results error with motion regressors #115

AlexBowring opened this issue Oct 5, 2017 · 0 comments

Comments

@AlexBowring
Copy link

If motion regressors are added within the design.fsf file inside the group.gfeat directory:

# Add motion parameters to model
# 0 : No
# 1 : Yes
set fmri(motionevs) 1
set fmri(motionevsbeta) ""
set fmri(scriptevsbeta) ""

Then nidmfsl gives the error:

% nidmfsl -g control 16 group.gfeat/
Exporting NIDM results from /Users/maullz/Desktop/Software_Comparison/ds001/FSL/LEVEL2/group.gfeat
(16, 1)
['pumps_demean', 'mot_1', 'mot_2', 'mot_3', 'mot_4', 'mot_5', 'mot_6']
Traceback (most recent call last):
  File "/usr/local/bin/nidmfsl", line 46, in <module>
    fslnidm.parse()
  File "/usr/local/lib/python2.7/site-packages/nidmfsl/fsl_exporter/fsl_exporter.py", line 143, in parse
    super(FSLtoNIDMExporter, self).parse()
  File "/usr/local/lib/python2.7/site-packages/nidmresults/exporter.py", line 97, in parse
    self.model_fittings = self._find_model_fitting()
  File "/usr/local/lib/python2.7/site-packages/nidmfsl/fsl_exporter/fsl_exporter.py", line 185, in _find_model_fitting
    design_matrix = self._get_design_matrix(analysis_dir)
  File "/usr/local/lib/python2.7/site-packages/nidmfsl/fsl_exporter/fsl_exporter.py", line 745, in _get_design_matrix
    str(len(real_ev)) + ')')
Exception: Inconsistency: number of columns in the design matrix (1) is not equal to number of regressor names (7)
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

No branches or pull requests

1 participant