Skip to content

Commit 1e85d2b

Browse files
committed
rename hemisphere labels and reorder entities
1 parent 24539c4 commit 1e85d2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/atlas/extractRoiFromAtlas.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
[maxProbaFiles, roiLabels] = getRetinoProbaAtlas();
88

9-
if strcmp(hemisphere, 'lh')
9+
if strcmp(hemisphere, 'L')
1010
sourceImage = maxProbaFiles(1, :);
1111
else
1212
sourceImage = maxProbaFiles(2, :);
@@ -24,8 +24,8 @@
2424

2525
entities = struct('space', 'MNI', ...
2626
'hemi', hemisphere, ...
27-
'desc', atlas, ...
28-
'label', roiName);
27+
'label', roiName, ...
28+
'desc', atlas);
2929
nameStructure = struct('entities', entities, ...
3030
'suffix', 'mask', ...
3131
'ext', '.nii');

0 commit comments

Comments
 (0)