bids-apps / SPM

BIDS App containing an instance of the SPM software.
https://hub.docker.com/r/bids/spm/tags
Apache License 2.0
14 stars 12 forks source link

Error on fresh install with default conf files #17

Open antotorov opened 5 years ago

antotorov commented 5 years ago

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 commented 5 years ago

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?