EMMAA Statement (emmaa.statements)

class emmaa.statements.EmmaaStatement(stmt, date, search_terms)[source]

Bases: object

Represents an EMMAA Statement.

Parameters:
  • stmt (indra.statements.Statement) – An INDRA Statement
  • date (datetime) – A datetime object that is attached to the Statement. Typically represents the time at which the Statement was created.
  • search_terms (list[emmaa.priors.SearchTerm]) – The slist of search terms that led to the creation of the Statement.
emmaa.statements.to_emmaa_stmts(stmt_list, date, search_terms)[source]

Make EMMAA statements from INDRA Statements with the given metadata.