Computational Result

class pyrefinebio.ComputationalResult(id=None, commands=None, processor=None, is_ccdl=None, annotations=None, files=None, organism_index=None, time_start=None, time_end=None, created_at=None, last_modified=None)

Computational Result

Retrieve a ComputationalResult based on id

>>> import pyrefinebio
>>> id = 1
>>> result = pyrefinebio.ComputationalResult.get(id)

Retrieve a list of ComputationalResult based on filters

>>> import pyrefinebio
>>> results = pyrefinebio.ComputationalResult.search(processor_id=4)
classmethod get(id)

Retrieve a computational result based on its id.

Returns:

ComputationalResult

Parameters:

id (int) – The id for the computational result to be retrieved.

classmethod search(**kwargs)

Retrieve a list of computational results based on filters.

Returns:

list of ComputationalResult

Keyword Arguments:
  • processor__id (int) – id of the Processor that processed the result

  • limit (int) – number of results to return per page

  • offset (int) – the initial index from which to return the results