Changeset 1528:911c336b6c08 in orange-bioinformatics for obiGeneMania.py


Ignore:
Timestamp:
01/24/12 11:30:02 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
5f474310b7490d7a83d02736bbd3d58638ff66ad
Message:

Fixed docstrings (orngNetwork.Network -> Orange.network.Graph)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obiGeneMania.py

    r1527 r1528  
    1919 
    2020import orange 
    21 import orngNetwork 
    2221 
    2322DEFAULT_SERVER = "http://193.2.72.57:8080/genemania" 
     
    10099     
    101100    def retrieve(self, org, genes, m="automatic", r=10): 
    102         """ Retrieve orngNetwork.Network instance representing the network for 
    103         the query, (See  
    104         `http://193.2.72.57:8080/genemania/pages/help.jsf#section/link`_ for 
    105         more details)  
     101        """ Retrieve :class:`Orange.network.Graph` instance representing the network for 
     102        the query. 
    106103         
    107104        :param org: NCBI taxonomy identifier (A. thaliana=3702, C. elegans=6239, 
     
    127124                  range 1..100 
    128125        :type r: int 
     126         
     127        .. note:: See `http://193.2.72.57:8080/genemania/pages/help.jsf#section/link`_ for 
     128            more details on the parameters.  
    129129        """ 
    130130        xml = self.retrieveXML(org, genes, m, r) 
     
    137137def parse(DOM): 
    138138    """ Parse the graph DOM as returned from geneMANIA server and return 
    139     an orngNetwork.Network instance 
     139    an :class:`Orange.network.Graph` instance. 
     140     
    140141    """ 
    141142    nodes = DOM.getElementsByTagName("node") 
Note: See TracChangeset for help on using the changeset viewer.