BioSimSpace._SireWrappers.SearchResult

class BioSimSpace._SireWrappers.SearchResult(select_result)

A thin wrapper around Sire.Mol.SelectResult.

__init__(select_result)

Constructor.

Parameters

select_result (Sire.Mol.SelectResult) – The Sire select result object.

Methods

__init__(select_result)

Constructor.

copy()

Create a copy of this object.

getResult(index)

Return the result at the given index.

nResults()

Return the number of results.

copy()

Create a copy of this object.

Returns

search_result – A copy of the object.

Return type

SearchResult

getResult(index)

Return the result at the given index.

Parameters

index (int) – The index of the result.

Returns

nResults()

Return the number of results.

Returns

num_results – The number of search results.

Return type

int