skbio.metadata.Interval.__eq__#
- Interval.__eq__(other)[source]#
Test if this
Intervalobject is equal to another.The equality is performed by checking if the
metadata,boundsandfuzzyare equal. Since theboundsand thefuzzyare sorted, the permutations of them during theIntervalconstruction or assignment won’t matter.- Parameters:
- otherInterval
Interval to test for equality against.
- Returns:
- bool
Indicates if the two objects are equal.