def remove_expired_effects(self):
        """
        Remove expired effects from collection
        """
        self.effects = [x for x in self.effects
                        if 0 > x.duration]
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/data/effects/effectscollection.py/EffectsCollection.remove_expired_effects/swapped operands of `>`