Пример #1
0
    def __init__(self, biodb, biodb_selector, end= 0):
        '''
        children attribute of the pathway class and coordinate_list are different attributes. children are basically pathways and coordinate_list elelments are coordinates.

        '''
        Pathway.__init__(self, biodb= biodb, biodb_selector= biodb_selector ) 
        self.included= True
        self.end=end
Пример #2
0
    def __init__(self, biodb, biodb_selector, end= 0, coordinate_list= []):
        '''
        children attribute of the pathway class and coordinate_list are different attributes. children are basically pathways and coordinate_list elelments are coordinates.

        '''
        Pathway.__init__(self, biodb= biodb, biodb_selector= biodb_selector ) 
        self.end=end
        self.coordinate_list=coordinate_list
        self._init_coordinate_list()