If skip_transform_inversion = true and staging = 'whole_embryo' for example it fails to find the inverted masks. Make a check for this