less verbose validation code
less verbose validation code

also use sets instead of arrays

SpatialMetabolomics/maori-upload,SpatialMetabolomics/maori-upload,SpatialMetabolomics/maori-upload,SpatialMetabolomics/maori-upload,SpatialMetabolomics/maori-upload