python-igraph manual

For using igraph from Python

   Home       Trees       Indices       Help   
Package igraph :: Package remote :: Module nexus :: Class NexusDatasetInfoList
[hide private]

Class NexusDatasetInfoList

source code

object --+
         |
        NexusDatasetInfoList

A read-only list-like object that can be used to retrieve the items from a Nexus search result.

Instance Methods [hide private]
 
__init__(self, connection, method, params)
Constructs a Nexus dataset list that will use the given connection and the given parameters to retrieve the search results.
source code
 
_fetch_results(self, index)
Fetches the results from Nexus such that the result item with the given index will be available (unless the result list is shorter than the given index of course).
source code
 
__getitem__(self, index) source code
 
__iter__(self) source code
 
__len__(self)
Returns the number of result items.
source code
 
__str__(self)
Converts the Nexus result list into a nice human-readable format.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, connection, method, params)
(Constructor)

source code 

Constructs a Nexus dataset list that will use the given connection and the given parameters to retrieve the search results.

Parameters:
  • connection - a Nexus connection object
  • method - the URL of the Nexus API method to call
  • params - the parameters to pass in the GET requests, in the form of a Python dictionary.
Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

Converts the Nexus result list into a nice human-readable format.

Overrides: object.__str__

   Home       Trees       Indices       Help