Changeset 8023:6df785ed5475 in orange


Ignore:
Timestamp:
06/14/11 16:06:45 (3 years ago)
Author:
miha <miha.stajdohar@…>
Branch:
default
Convert:
f75fbf63fb9137271b5b4f344879c0a5301750c0
Message:
 
Location:
orange/Orange/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/network/network.py

    r8015 r8023  
    7878 
    7979def _get_doc(doc): 
    80     tmp = doc.replace('----------', '').replace('--------', '') 
    81     tmp = tmp.replace('nx.', 'Orange.network.') 
     80    tmp = doc.replace('nx.', 'Orange.network.') 
    8281    return tmp 
    8382     
     
    160159         
    161160        for id in G.node.keys(): 
    162             G.node[id]['old_id'] = index_to_node[id] 
     161            G.node[id]['old_id'] = index_to_node[id]   
    163162         
    164163        if self.items(): 
  • orange/Orange/network/readwrite.py

    r8020 r8023  
    4444 
    4545def _add_doc(myclass, nxclass): 
    46     tmp = nxclass.__doc__.replace('----------', '').replace('--------', '') 
    47     tmp = tmp.replace('-------', '').replace('-----', '') 
    48     tmp = tmp.replace('nx.write', 'Orange.network.readwrite.write') 
     46    tmp = nxclass.__doc__.replace('nx.write', 'Orange.network.readwrite.write') 
    4947    tmp = tmp.replace('nx.read', 'Orange.network.readwrite.read') 
    5048    tmp = tmp.replace('nx', 'Orange.network.nx') 
Note: See TracChangeset for help on using the changeset viewer.