pasteur.attribute.SeqAttributes#

class pasteur.attribute.SeqAttributes(order, seq, attrs, hist)[source]#

Attributes

attrs

Alias for field number 2

hist

Alias for field number 3

order

Alias for field number 0

seq

Alias for field number 1

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

attrs: Optional[Mapping[str | tuple[str, ...], Attribute]]#

Alias for field number 2

count(value, /)#

Return number of occurrences of value.

hist: dict[int, Mapping[str | tuple[str, ...], Attribute]]#

Alias for field number 3

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

order: int#

Alias for field number 0

seq: StratifiedValue#

Alias for field number 1