Skip to content

Commit

Permalink
reran all step by step guides, and fixed error in 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
valentin-pinkau committed Dec 16, 2024
1 parent 9469580 commit 64e4228
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions +siibra/+internal/API.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
options);
catch Exception
delete(path)
throw(Exception)
end
end

Expand Down
12 changes: 8 additions & 4 deletions +siibra/+items/Space.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@
function niftiImage = loadTemplateResampledForParcellation(obj, parcellation)
cachedPath = siibra.internal.cache(obj.Name + ".nii.gz", "template_cache");
if ~isfile(cachedPath)
siibra.internal.API.doWebsaveWithLongTimeout( ...
cachedPath, ...
siibra.internal.API.templateForParcellationMap(parcellation.Id, obj.Id) ...
);
try
siibra.internal.API.doWebsaveWithLongTimeout( ...
cachedPath, ...
siibra.internal.API.templateForParcellationMap(parcellation.Id, obj.Id) ...
);
catch Exception
error("Space has no template for given parcellation!")
end
end
niftiImage = siibra.items.NiftiImage(cachedPath);
end
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified step-by-step/02_maps_and_templates/04_access_big_brain.mlx
Binary file not shown.
Binary file modified walkthrough.mlx
Binary file not shown.

0 comments on commit 64e4228

Please sign in to comment.