FZJ-INM1-BDA / siibralab

Matlab interface to the siibra toolsuite
Apache License 2.0
5 stars 2 forks source link

live script fails when visualizing template #44

Closed dickscheid closed 3 months ago

dickscheid commented 5 months ago

When running the walkthrough.mlx as live script from file exchange in Matlab online (using this link), the following error occurs in cell 25:

Error using [websave](matlab:matlab.lang.internal.introspective.errorDocCallback('websave', '/MATLAB/toolbox/matlab/external/interfaces/webservices/restful/websave.m', 107)) ([line 107](matlab: opentoline('/MATLAB/toolbox/matlab/external/interfaces/webservices/restful/websave.m',107,0)))
The server returned the status 500 with message "Internal Server Error" in response to the request to URL https://siibra-api-latest.apps-dev.hbp.eu/v3_0/map/resampled_template?parcellation_id=minds/core/parcellationatlas/v1.0.0/94c1125b-b87e-45e4-901c-00daee7f2579-290&space_id=minds/core/referencespace/v1.0.0/dafcffc5-4826-4bf1-8ff6-46b8a31ff8e2.

Error in [siibra.internal.API.doWebsaveWithLongTimeout](matlab:matlab.lang.internal.introspective.errorDocCallback('siibra.internal.API.doWebsaveWithLongTimeout', '/MATLAB Drive/Repositories/siibralab/+siibra/+internal/API.m', 30)) ([line 30](matlab: opentoline('/MATLAB Drive/Repositories/siibralab/+siibra/+internal/API.m',30,0)))
            result = websave( ...

Error in [siibra.items.Space/loadTemplateResampledForParcellation](matlab:matlab.lang.internal.introspective.errorDocCallback('siibra.items.Space/loadTemplateResampledForParcellation', '/MATLAB Drive/Repositories/siibralab/+siibra/+items/Space.m', 38)) ([line 38](matlab: opentoline('/MATLAB Drive/Repositories/siibralab/+siibra/+items/Space.m',38,0)))
                siibra.internal.API.doWebsaveWithLongTimeout( ...

Error in [siibra.items.Region/visualizeInTemplate](matlab:matlab.lang.internal.introspective.errorDocCallback('siibra.items.Region/visualizeInTemplate', '/MATLAB Drive/Repositories/siibralab/+siibra/+items/Region.m', 113)) ([line 113](matlab: opentoline('/MATLAB Drive/Repositories/siibralab/+siibra/+items/Region.m',113,0)))
            template = space.loadTemplateResampledForParcellation(obj.Parcellation).normalizedData();
vijayiyer05 commented 5 months ago

I've confirmed that I run into the same issue at line 25 just now, so it's quite possible something has gotten off w/ the query rather than, say, a transient server issue.

xgui3783 commented 3 months ago

currently, siibralab references development version of v3, which is no longer active.

45 should fix this.

@dickscheid can you take a look and merge?