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

Error on fresh install with default conf files #17

Open
antotorov opened this issue Aug 9, 2019 · 1 comment
Open

Error on fresh install with default conf files #17

antotorov opened this issue Aug 9, 2019 · 1 comment

Comments

@antotorov
Copy link

antotorov commented Aug 9, 2019

Hello

I am new to BIDS and plan to update all my custom spm scripts to run on BIDS data.
BIDS-Apps/SPM seems to be a first step in this direction, but running on some of my data (one subject, one run, anat and func images only) I get the following error:

Execution failed: /opt/spm12/spm_BIDS_App.m
Error using cell/ismember
Input A of class double and input B of class cell must be cell arrays of character vectors, unless one is a character vector.
Error in ismember
Error in spm (line 1139)
Error in spm_standalone (line 115)

Note that SPM starts successfully (I can see the SPM logo after executing the docker run command). The error message appears after quite some time (about 5 minutes or so), so it seems to work on something, but in my output folder there seems to be only copies of the original files.

Of course my data are BIDS validated.

Thanks for you help!

@gllmflndn
Copy link
Collaborator

Hi @antotorov,
Thanks for your report and sorry for the delay in coming back to you. The long wait means that SPM was copying and unzipping the data in the output directory - it seems quite long for a single subject and run... Then the error probably takes place at some point in these lines:
https://github.com/BIDS-Apps/SPM/blob/master/spm_BIDS_App.m#L256-L290
What was the command line you were using?

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

2 participants