MCR and MATLAB-based binaries of Mass Spectrometry Imaging datasets processing for Python.
4.8K
MSI data processing algorithms have Python bindings through which should be called. For details, check GitHub.
Backed up on GitHub.
IMPORTANT NOTICE
To be able to use MCR-based packages, it is necessary to overwrite LD_LIBRARY_PATH environmental variable. Without it, MCR won't start. It is not done globally (as suggested on MathWorks webpage) due to problems with PIP and Python.
It can be done as follows:
import os
old_env = os.environ['LD_LIBRARY_PATH'] = os.environ['LD_LIBRARY_PATH'] + \
":/usr/local/MATLAB/MATLAB_Runtime/v91/runtime/glnxa64" + \
":/usr/local/MATLAB/MATLAB_Runtime/v91/bin/glnxa64" + \
":/usr/local/MATLAB/MATLAB_Runtime/v91/sys/os/glnxa64"
from MatlabAlgorithms import MsiAlgorithms
algs = MsiAlgorithms.initialize()
os.environ['LD_LIBRARY_PATH'] = old_env
Content type
Image
Digest
Size
1.9 GB
Last updated
over 5 years ago
docker pull spectreteam/python_msi