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

amypet centiloid requires MATLAB #24

Open
jhuguetn opened this issue Mar 28, 2022 · 1 comment
Open

amypet centiloid requires MATLAB #24

jhuguetn opened this issue Mar 28, 2022 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@jhuguetn
Copy link

Running amypad centiloid CLI subcommand fails unless MATLAB platform is found in the current environment/system. See below,

(amypet) user@host:/# amypet centiloid --glob-MRI *.nii.gz --glob-PET *.nii.gz --outfile results.csv /data/mri /data/pet /data/roi/Centiloid_Std_VOI/nifti/2mm
WARNING:miutil.mlab:Python could not find the MATLAB engine.
Attempting to install automatically.
Traceback (most recent call last):
  File "/root/venvs/amypet/lib/python3.7/site-packages/miutil/mlab/__init__.py", line 63, in get_engine
    from matlab import engine
ModuleNotFoundError: No module named 'matlab'

What is exactly required for running AmyPET, full MATLAB environment or the compiler runtime (MCR) is good enough? Additionally, which versions of MATLAB does AmyPET support/require? Any specific toolboxes?

I would add some details on this regard in the README file.

@casperdcl
Copy link
Member

yes the underlying packages/dependencies have more info in their READMEs, but we need this info bubbled up/unified in the docs.

Unfortunately MCR isn't (yet) supported - a full MATLAB installation is required. MATLAB versions tend to only work with specific versions of Python so they must match. Specifically, check that your Python version appears in grep supported_version /usr/local/MATLAB/*/extern/engines/python/setup.py.

@casperdcl casperdcl added the documentation Improvements or additions to documentation label Mar 29, 2022
@casperdcl casperdcl self-assigned this Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants