CyclotronResearchCentre / NODDI_singularity

Singularity containerized version of the NODDI toolbox.
GNU General Public License v3.0
5 stars 1 forks source link

Error running singularity NODDI #4

Closed Bea9619 closed 8 months ago

Bea9619 commented 8 months ago

Dear developers, I'm running the containerized version of NODDI toolbox following the instructions reported here in the Read Me section. I tried first with the NODDI example dataset, as follows:

_singularity run --cleanenv \ --bind /path/to/NODDI_example_dataset:/In_fold \ /path/to/noddi-singularity.sif \ /In_fold/NODDI_DWI.hdr \ /In_fold/roi_mask.hdr \ /In_fold/NODDI_roi.mat \ /In_fold/NODDI_protocol.bval \ /In_fold/NODDI_protocol.bvec \ /In_fold/FittedParams.mat /Infold/example

The container starts to fit every voxel in the ROI mask, however at the end of fitting, this error comes:

_Fitting voxel 178921 Fitting voxel 178922 Fitting voxel 178923 Fitting voxel 178924 Elapsed time is 61520.966940 seconds. Not enough input arguments.

Error in ss_noddi (line 63)

MATLAB:minrhs

/In_fold/example bash: /Infold/example: No such file or directory

However, at line 63 of ss_noddi.m there's only a commented line: % model This happened both with the example dataset and my data. I controlled the inputs several times but all seems correct How can I solve the problem? Many thanks in advance

Beatrice

ChristophePhillips commented 8 months ago

As fixed here above by @chrisrj in commit 332c4ff, the problem stemmed from a missing \ on 2 lines.

Bea9619 commented 8 months ago

Thanks!