Skip to content

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

Closed
@jona-sassenhagen

Description

@jona-sassenhagen

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions