diff --git a/+siibra/+internal/fuzzyMatching.m b/+siibra/+internal/fuzzyMatching.m index 337b858..07c2f2c 100644 --- a/+siibra/+internal/fuzzyMatching.m +++ b/+siibra/+internal/fuzzyMatching.m @@ -34,6 +34,9 @@ end matchedIndex = matchedIndices(1); end + if ~strcmp(query, haystack(matchedIndex)) + display("Resolved query '" + query + "' to: " + haystack(matchedIndex)); + end end diff --git a/+siibra/+items/+features/StreamlineCounts.m b/+siibra/+items/+features/StreamlineCounts.m index e7b74a6..6a53583 100644 --- a/+siibra/+items/+features/StreamlineCounts.m +++ b/+siibra/+items/+features/StreamlineCounts.m @@ -46,12 +46,12 @@ % write decoded and compressed matrix to file compressedMatrixCachePath = siibra.internal.cache(featureIdNormalized + ".bin.gzip", "parcellation_features"); f = fopen(compressedMatrixCachePath, "w"); - fwrite(f, decodedMatrix) + fwrite(f, decodedMatrix); fclose(f); % decompress file and read it again binaryMatrixCachePath = siibra.internal.cache(featureIdNormalized + ".bin", "parcellation_features"); - gunzip(compressedMatrixCachePath, siibra.internal.cache("", "parcellation_features")) + gunzip(compressedMatrixCachePath, siibra.internal.cache("", "parcellation_features")); f = fopen(binaryMatrixCachePath, "r"); decompressedMatrix = fread(f, matrixJson.matrix.dtype); fclose(f); diff --git a/README.md b/README.md index 5917ba3..2bc58bc 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# siibra-matlab - Matlab interface to the siibra toolsuite for interacting with brain atlases +# siibraLab - a MATLAB toolbox for working with brain atlases using the siibra toolsuite -``siibra`` is a toolsuite for working with brain atlases that integrate parcellations and reference spaces at different spatial scales, covering multiple aspects of brain organization, and linking features from different data modalitites to brain structures. It aims to facilitate the programmatic and reproducible incorporation of brain region features from different sources into reproducible neuroscience workflows. +``siibra`` is a toolsuite for working with brain atlases that integrate parcellations and reference spaces at different spatial scales, covering multiple aspects of brain organization, and linking features from different data modalitites to brain structures. It aims to facilitate the programmatic and reproducible incorporation of brain region features from different sources into reproducible neuroscience workflows. siibraLab is a MatlabĀ® toolbox for accessing functions provided in siibra. siibra provides structured acccess to parcellation schemes in different brain reference spaces, including volumetric reference templates at both macroscopic and microscopic resolutions as well as surface representations. It supports both discretely labelled and continuous (probabilistic) parcellation maps, which can be used to assign brain regions to spatial locations and image signals, to retrieve region-specific neuroscience datasets from multiple online repositories, and to sample information from high-resolution image data. Among the datasets anchored to brain regions are many different modalities from in-vivo and post mortem studies, including regional information about cell and transmitter receptor densties, structural and functional connectivity, gene expressions, and more. -The main implementation of siibra is a comprehensive Python client, [siibra-python](https://github.com/FZJ-INM1-BDA/siibra-python). To understand the scope, please refer to the [documentation](https://siibra-python.readthedocs.io). There is also an interactive web application built around a 3D viewer, [siibra-explorer](https://github.com/FZJ-INM1-BDA/siibra-explorer), which is [hosted as part of the EBRAINS infrastructure](https://atlases.ebrains.eu/viewer). +The main implementation of siibra is the Python client [siibra-python](https://github.com/FZJ-INM1-BDA/siibra-python). To understand the scope, please refer to the [documentation](https://siibra-python.readthedocs.io). There is also an interactive web application built around a 3D viewer, [siibra-explorer](https://github.com/FZJ-INM1-BDA/siibra-explorer), which is [hosted as part of the EBRAINS infrastructure](https://atlases.ebrains.eu/viewer). -siibra-matlab is a Matlab (Mathworks.com) toolbox to the siibra toolsuite. The toolbox is in very early development. Its API is not yet stable and the set of supported features is still basic. We share releases of the toolbox on [matlab file exchange](https://www.mathworks.com/matlabcentral/fileexchange). If you are interested in the ongoing development and future releases, [drop us a note](mailto:info@siibra.eu). +The toolbox is in very early development. Its API is not yet stable and the set of supported features is still basic. We share releases of the toolbox on [matlab file exchange](https://www.mathworks.com/matlabcentral/fileexchange). If you are interested in the ongoing development and future releases, [drop us a note](mailto:info@siibra.eu).