skbio.alignment.Alignment.__eq__

Alignment.__eq__(other)[source]

The equality operator.

Parameters:

other : SequenceCollection

The SequenceCollection to test for equality against.

Returns:

bool

Indicates whether self and other are equal.

Notes

SequenceCollection objects are equal if they are the same type, contain the same number of sequences, and if each of the skbio.sequence.BiologicalSequence objects, in order, are equal.