Subset

class pronto.Subset[source]

A definition of a subset in an ontology.

name

The name of the subset, as an OBO short identifier.

Type

str

description

A description of the subset, as defined in the metadata part of the ontology file.

Type

str

__eq__(other: object) → bool[source]

Return self==value.

__lt__(other: object) → bool[source]

Return self<value.

__hash__() → int[source]

Return hash(self).

__ge__(other, NotImplemented=NotImplemented)

Return a >= b. Computed by @total_ordering from (not a < b).

__gt__(other, NotImplemented=NotImplemented)

Return a > b. Computed by @total_ordering from (not a < b) and (a != b).

__le__(other, NotImplemented=NotImplemented)

Return a <= b. Computed by @total_ordering from (a < b) or (a == b).

__repr__()

A roundtripping implementation for repr. Computed by @roundrepr.