Modify the slice dataset to work with JPG
Modify the slice dataset to work with JPG

Also ignore anything after the first two defined groups, as sometimes we
stick other information in the filename.

dave-lab41/pelops,Lab41/pelops,dave-lab41/pelops,Lab41/pelops