Skip to content

Commit f657f7b

Browse files
committed
update test_setBatchSTC without unique call to compute nb slices
1 parent 2e97d8c commit f657f7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)