-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ImejiLab is a Matlab based client for the RESTful Imeji API. It is currently in development phase. The present version is based upon the Python client for Imeji known as pyimeji. It uses the functionality of Matlab to call python libraries to interact with pyimeji and hence does not require any pre-requisite knowledge of Python programming language.
The current version requires Matlab R2015a or higher. Also it requires Python ( version 2.7 or >= 3.4) to be installed which is freely available from https://www.python.org/downloads/. It should be ensured that both Matlab and python are either x64 or x86. After that pyimeji should be downloaded and installed from the PyPI or GitHub. The details are available in the documentation of pyimeji given at https://github.com/MPDL-Innovations/pyimeji/blob/master/docs/tutorial.rst. Adding base-url and user credentials to configuration file sets up the client for use.
Note: The current version of Matlab client works with upload of meatadata in raw syntax format. The original python client is not configured to work with raw syntax. Hence to achieve this we need to go into pyimeji:api.py line 93
res = method(self.service_url + '/rest' + path, **kw)
and modify it to:
res = method(self.service_url + '/rest' + path + '?syntax=raw', **kw)