Skip to content

Commit ea2c383

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6df7295 commit ea2c383

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

demos/MoAE/moae_03_slice_display.m

+2-5
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,14 @@
4747

4848
opt.results(iRes).montage = setMontage(opt.results(iRes));
4949

50-
opt.results(iRes).sdConfig
50+
opt.results(iRes).sdConfig;
5151

5252
% we get the con image to extract data
5353
ffxDir = getFFXdir(subLabel, opt);
5454

5555
maskImage = spm_select('FPList', ffxDir, '^.*_mask.nii$');
5656
bf = bids.File(spm_file(maskImage, 'filename'));
5757

58-
5958
%% Layers to put on the figure
6059
layers = sd_config_layers('init', {'truecolor', 'dual', 'contour'});
6160

@@ -64,12 +63,11 @@
6463
layers(1) = setFields(layers(1), opt.results(iRes).sdConfig.layers{1}, overwrite);
6564

6665
% layers(1).color.file = opt.results(iRes).montage.background{1};
67-
%
66+
%
6867
% hdr = spm_vol(layers(1).color.file);
6968
% [max_val, min_val] = slover('volmaxmin', hdr);
7069
% layers(1).color.range = [0 max_val];
7170

72-
7371
%% Layer 2: Dual-coded layer
7472
%
7573
% - contrast estimates color-coded;
@@ -85,7 +83,6 @@
8583
% layers(2).color.range = [-4 4];
8684
% layers(2).color.label = '\beta_{listening} - \beta_{baseline} (a.u.)';
8785

88-
8986
% - t-statistics opacity-coded
9087
spmTImage = spm_select('FPList', ffxDir, ['^spmT_' bf.entities.label '.nii$']);
9188
layers(2).opacity.file = spmTImage;

0 commit comments

Comments
 (0)