Skip to content

Commit fa243ad

Browse files
authored
Merge pull request #765 from marcobarilari/marco_stc-fix-#763
related to #763 and testing through CI if the patch breaks things (reopened)
2 parents 7903b43 + f657f7b commit fa243ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/batches/preproc/setBatchSTC.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
false, opt.verbosity);
9797
end
9898

99-
nbSlices = numel(unique(sliceOrder));
99+
nbSlices = numel(sliceOrder);
100100

101101
temporal.st.nslices = nbSlices;
102102
temporal.st.tr = repetitionTime;

tests/tests_batches/preproc/test_setBatchSTC.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ function test_setBatchSTC_error_invalid_input_time()
181181

182182
function expectedBatch = returnExpectedBatch(sliceOrder, referenceSlice, TR)
183183

184-
nbSlices = length(unique(sliceOrder));
184+
nbSlices = length(sliceOrder);
185185
TA = getAcquisitionTime(sliceOrder, TR);
186186

187187
temporal.st.nslices = nbSlices;

0 commit comments

Comments
 (0)