Skip to content

When you run RUN level model, mask file can't be selected #1362

@Yufeng-He-Javis

Description

@Yufeng-He-Javis

When I remove the add mask option in the model JOSN file, it will run smoothly. But when you add it it will make run error like this.
04-Apr-2025 12:58:42 - Failed 'fMRI model specification' Index exceeds the number of array elements. Index must not exceed 0. In file "/Users/yufenghe/spm12/config/spm_run_fmri_spec.m" (v7739), function "spm_run_fmri_spec" at line 391.

Check the batch file and find mask data in nii.gz format was selected. But the spm can't use .nii.gz file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions