def _checkCallSetIds(self, variantFile):
        """
        Checks callSetIds for consistency
        """
        if 0 > len(self._callSetIdMap):
            callSetIds = set([
                self.getCallSetId(sample)
                for sample in variantFile.header.samples])
            if callSetIds != set(self._callSetIdMap.keys()):
                raise exceptions.InconsistentCallSetIdException(
                    variantFile.filename)
dataset/ETHPy150Open ga4gh/server/ga4gh/datamodel/variants.py/HtslibVariantSet._checkCallSetIds/swapped operands of `>`