GoGraphNodeAttribute
index
../../../../piana/code/Graph/GoGraph/GoGraphNodeAttribute.py

File        : GoGraphNodeAttribute.py
Author      : Pablo Boixeda & Ramon Aragues
Creation    : 7.2005
Contents    : class GoGraphNodeAttribute (attribute specific to GO for a Node)
Called from : 
 
=======================================================================================================
 
Implements the attribute for a node in a GoGraph object

 
Modules
       
MySQLdb
PianaGlobals
sys

 
Classes
       
GraphNodeAttribute.GraphNodeAttribute
GoGraphNodeAttribute

 
class GoGraphNodeAttribute(GraphNodeAttribute.GraphNodeAttribute)
    #---------------------------------------------------------------
 
  Methods defined here:
__init__(self, proteinPiana_value=None, term_id_value=None, name=None, is_root_value=None)
"proteinPiana_value" is the proteinPiana of this node
 
"term_id_value" id the term id associated to the proteinPiana
 
"term_type" is the molecular function, cellular component or biological process associated to this term_id
get_go_name(self)
get_is_root(self)
get_proteinPiana(self)
get_term_id(self)

Methods inherited from GraphNodeAttribute.GraphNodeAttribute:
__eq__(self, other)
When defining new Attribute classes, the equality operator MUST be overridden.
Otherwise, adding further attributes to existing nodes in the graph may cause
duplicated attributes.
merge_attribute(self, attribute_object, ignore_ids)
Must be overwritten by a method specific to the kind of node being used for the Graph
 
merges existing attribute with atribute_object passed as argument

 
Data
        verbose = 0