Skip to content

Commit 57c19e0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 064a1b7 commit 57c19e0

File tree

5 files changed

+19
-20
lines changed

5 files changed

+19
-20
lines changed

demos/MoAE/models/model-MoAE_smdl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@
5454
]
5555
}
5656
]
57-
}
57+
}

docs/source/_static/bidsSegmentSkullstrip/Makefile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,14 @@ sub-01_space-individual_label-brain_mask.nii: setBatSkullstripping.m msub-01_T1w
2323
# Segmentation
2424
msub-01_T1w.nii: setBatchSegmentation.m sub-01_T1w.nii
2525

26-
c1sub-01_T1w.nii: setBatchSegmentation.m sub-01_T1w.nii
26+
c1sub-01_T1w.nii: setBatchSegmentation.m sub-01_T1w.nii
2727

28-
c2sub-01_T1w.nii: setBatchSegmentation.m sub-01_T1w.nii
28+
c2sub-01_T1w.nii: setBatchSegmentation.m sub-01_T1w.nii
2929

30-
c3sub-01_T1w.nii: setBatchSegmentation.m sub-01_T1w.nii
30+
c3sub-01_T1w.nii: setBatchSegmentation.m sub-01_T1w.nii
3131

32-
sub-01_label-T1w_segparam: setBatchSegmentation.m sub-01_T1w.nii
32+
sub-01_label-T1w_segparam: setBatchSegmentation.m sub-01_T1w.nii
3333

34-
ysub-01_T1w.nii: setBatchSegmentation.m sub-01_T1w.nii
35-
36-
iysub-01_T1w.nii: setBatchSegmentation.m sub-01_T1w.nii
34+
ysub-01_T1w.nii: setBatchSegmentation.m sub-01_T1w.nii
3735

36+
iysub-01_T1w.nii: setBatchSegmentation.m sub-01_T1w.nii

lib/utils/iqr_method.m

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,28 @@
2424
% https://github.com/CPernet/spmup
2525
% ----------------------------------------
2626
% (C) Copyright 2016 Cyril Pernet
27-
27+
2828
if nargin == 1
2929
out = 1;
3030
end
31-
31+
3232
a = a(:);
3333
n = length(a);
34-
34+
3535
% inter-quartile range
3636
j = floor(n / 4 + 5 / 12);
37-
37+
3838
y = sort(a);
39-
39+
4040
g = (n / 4) - j + (5 / 12);
41-
41+
4242
q1 = (1 - g) .* y(j) + g .* y(j + 1);
43-
43+
4444
k = n - j + 1;
4545
q2 = (1 - g) .* y(k) + g .* y(k - 1);
46-
46+
4747
value = q2 - q1;
48-
48+
4949
% outliers
5050
M = median(a);
5151
k = (17.63 * n - 23.64) / (7.74 * n - 3.71);
@@ -55,5 +55,5 @@
5555
I = a > (M + k * value); % only reject data with a too high value
5656
end
5757
I = I + isnan(a);
58-
58+
5959
end

src/QA/mriqcQA.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,4 @@ function mriqcQA(opt, suffix)
164164
'tsnr', true, true
165165
};
166166

167-
end
167+
end

tests/tests_workflows/test_reportBIDS.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function test_reportBIDS_smoke_test()
1414
opt = setOptions('vismotion');
1515

1616
reportBIDS(opt);
17-
17+
1818
if isGithubCi
1919
return
2020
end

0 commit comments

Comments
 (0)