Skip to content

Commit

Permalink
Fix slice timing check
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgorgo committed Dec 20, 2017
1 parent 4d8592b commit 7804267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validators/nii.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ function generateMergedSidecarDict(potentialSidecars, jsonContents) {
*/

function checkSliceTimingArray(array, repetitionTime){
var invalid_timesArray = [];
for (var t = 0; t < array.length; t++){
var invalid_timesArray = [];
if (array[t] > repetitionTime){
invalid_timesArray.push(array[t]);
}
Expand Down

0 comments on commit 7804267

Please sign in to comment.