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

statistics-surface not compatible with Matlab R2019b #90

Closed
alexandreroutier opened this issue Apr 17, 2020 · 1 comment · Fixed by #98
Closed

statistics-surface not compatible with Matlab R2019b #90

alexandreroutier opened this issue Apr 17, 2020 · 1 comment · Fixed by #98
Assignees
Labels
bug Something isn't working

Comments

@alexandreroutier
Copy link
Contributor

alexandreroutier commented Apr 17, 2020

Feedback from a Clinica user:

When running statistics-surface with Matlab R2019b, the following error is raised:


Standard error:
MATLAB code threw an exception:
Error: File: /Users/alexandre.routier/Projects/Git/clinica_dep/clinica/lib/clinicasurfstat/clinicasurfstat.m Line: 158 Column: 23
Indexing with parentheses '()' must appear as the last operation of a valid indexing expression.
File:/private/var/folders/m_/j76n37kn4vs6zsj8fq0qcgy0000dn9/T/tmpga40_rup/statistics-surface/surfstat/pyscript.m
Name:pyscript
Line:6
Return code: 0

The line involved in pyscript.m is:

            factor1 = char(term(tsvdata{indexunique})){1};

It turns out that using older version of Matlab (when I tested with R2018b), the pipeline runs without issue.

@alexandreroutier alexandreroutier added the bug Something isn't working label Apr 17, 2020
@alexandreroutier alexandreroutier self-assigned this Aug 18, 2020
alexandreroutier added a commit to alexandreroutier/clinica that referenced this issue Aug 18, 2020
@alexandreroutier alexandreroutier linked a pull request Aug 18, 2020 that will close this issue
22 tasks
@alexandreroutier
Copy link
Contributor Author

Solution can be found here and is implemented in PR #98.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant