Skip to content

Commit 4a54d72

Browse files
committed
fix bug on left and right hemispheres
1 parent 0d3b0df commit 4a54d72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/atlas/extractRoiFromAtlas.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@
3434

3535
roiName = regexprep(roiName, '(Left )|(Right )', '');
3636

37+
prefix = '';
3738
if strcmp(hemisphere, 'L')
3839
prefix = 'Left ';
39-
elseif strcmp(hemisphere, 'L')
40+
elseif strcmp(hemisphere, 'R')
4041
prefix = 'Right ';
4142
end
4243

0 commit comments

Comments
 (0)