comparison XSeekerPreparator.R @ 7:5be8a770a11d draft

" master branch Updating"
author lain
date Thu, 21 Jan 2021 12:55:33 +0000
parents 207e36770d18
children b7ebb4748e59
comparison
equal deleted inserted replaced
6:207e36770d18 7:5be8a770a11d
563 } 563 }
564 } 564 }
565 if (length(classes) > 1) { 565 if (length(classes) > 1) {
566 stop(sprintf("Only one class expected in the variable metadata. Found %d .", length(classes))) 566 stop(sprintf("Only one class expected in the variable metadata. Found %d .", length(classes)))
567 } 567 }
568 if (length(classes) === 0) { 568 if (length(classes) == 0) {
569 stop("Could not find any class column in your variableMetadata.") 569 stop("Could not find any class column in your variableMetadata.")
570 } 570 }
571 return (classes[[1]]) 571 return (classes[[1]])
572 } 572 }
573 573