def getGroupIndex(self, groupName):
        for index, name in self.groupNames.iteritems():
            if name == groupName:
                return index
Creating a new instance with an image causes the source_saved signal to be
dataset/ETHPy150Open Mouse-Imaging-Centre/pydpiper/atoms_and_modules/registration_file_handling.py/RegistrationPipeFH.getGroupIndex--crossover with--dataset/ETHPy150Open matthewwithanm/django-imagekit/tests/test_sourcegroups.py/test_source_saved_signal