rnalysis.enrichment.FeatureSet.discard

FeatureSet.discard()

Remove an element from a set if it is a member.

Unlike set.remove(), the discard() method does not raise an exception when an element is missing from the set.