We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca14a77 commit 3786bb0Copy full SHA for 3786bb0
src/atlas/extractRoiFromAtlas.m
@@ -26,17 +26,17 @@
26
27
[atlasFile, lut] = getAtlasAndLut(atlasName);
28
29
- if strcmp(atlasName, 'wang')
+ if strcmpi(atlasName, 'wang')
30
31
- if strcmp(hemisphere, 'L')
+ if strcmpi(hemisphere, 'L')
32
atlasFile = atlasFile(1, :);
33
else
34
atlasFile = atlasFile(2, :);
35
end
36
37
roiIdx = strcmp(roiName, lut.ROI);
38
39
- elseif strcmp(atlasName, 'neuromorphometrics')
+ elseif strcmpi(atlasName, 'neuromorphometrics')
40
41
roiName = regexprep(roiName, '(Left )|(Right )', '');
42
@@ -49,7 +49,7 @@
49
50
roiIdx = strcmp([prefix roiName], lut.ROI);
51
52
- elseif strcmp(atlasName, 'visfatlas')
+ elseif strcmpi(atlasName, 'visfatlas')
53
54
prefix = '';
55
if strcmp(hemisphere, 'L')
0 commit comments