Skip to content

Commit

Permalink
Merge pull request #378 from chrisfilo/fix/slice_timing
Browse files Browse the repository at this point in the history
Fix slice timing check
  • Loading branch information
chrisgorgo authored Dec 20, 2017
2 parents 4d8592b + 7804267 commit dd416e7
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 dd416e7

Please sign in to comment.