question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SPM12: only Matlab 2017a is supported, but repo website only hosts 2018a

See original GitHub issue

When installing SPM, http://www.fil.ion.ucl.ac.uk/spm/download/restricted/utopia/dev/ does not host a precompiled R2017a SPM at the moment. However, neurodocker complains it only supports R2017a. See below for a MWE:

docker run --rm kaczmarj/neurodocker:v0.3.2 generate -b neurodebian -p apt --spm version=12 matlab_version=R2018a
Traceback (most recent call last):
  File "/usr/bin/neurodocker", line 11, in <module>
    load_entry_point('neurodocker', 'console_scripts', 'neurodocker')()
  File "/opt/neurodocker/neurodocker/neurodocker.py", line 281, in main
    subparser_functions[namespace.subparser_name](namespace)
  File "/opt/neurodocker/neurodocker/neurodocker.py", line 228, in generate
    df = Dockerfile(specs)
  File "/opt/neurodocker/neurodocker/generate.py", line 457, in __init__
    self.cmd = self._create_cmd()
  File "/opt/neurodocker/neurodocker/generate.py", line 478, in _create_cmd
    chunks = _get_dockerfile_chunks(self.specs)
  File "/opt/neurodocker/neurodocker/generate.py", line 436, in _get_dockerfile_chunks
    chunk = _get_dockerfile_chunk(instruction, options, specs)
  File "/opt/neurodocker/neurodocker/generate.py", line 414, in _get_dockerfile_chunk
    chunk = callable_(**options).cmd
  File "/opt/neurodocker/neurodocker/interfaces/spm.py", line 62, in __init__
    raise ValueError("Only MATLAB R2017a is supported (for now).")
ValueError: Only MATLAB R2017a is supported (for now).

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
kaczmarjcommented, Mar 16, 2018

Nope, let’s wait until the fix is merged.

0reactions
jona-sassenhagencommented, Apr 27, 2018

Yup, building!

Read more comments on GitHub >

github_iconTop Results From Across the Web

SPM12: only Matlab 2017a is supported, but repo ... - GitHub
When installing SPM, http://www.fil.ion.ucl.ac.uk/spm/download/restricted/utopia/dev/ does not host a precompiled R2017a SPM at the moment.
Read more >
how to install the SPM 12 into Matlab? - MathWorks
I have downloaded spm 12,(files from UCL) but I cant use it in matlab. I dont know what to do and I have...
Read more >
Problem with SPM12 - MATLAB Answers - MathWorks
to include your SPM12 distribution. This means that you. can start SPM in this directory, but if your change to. another directory then...
Read more >
Unable to compile SPM12 Mex files on Mac OS Catalonia
But SPM12 still does not run on my Mac Catalonia OS (I'm using Matlab 2020a) ... instead of only "addpath" in the wikibooks,...
Read more >
MercEtal22.pdf - Computational Memory Lab
tially avoid resecting brain regions supporting critical functions, as the success of the epilepsy surgery depends not only on the resec-.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found