aoptk.effect

Classes

Effect

Data structure representing a biological effect (adverse outcome / key event).

Module Contents

class aoptk.effect.Effect(name: str)[source]

Data structure representing a biological effect (adverse outcome / key event).

_name[source]
property name: str[source]

Return the effect’s name.

__str__() str[source]

Return a human-friendly string for the effect (its name).

__eq__(other: object) bool[source]

Compare two Effect instances for equality.

__hash__() int[source]

Return a hash based on the effect name.