CloneSet97


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16340.978compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116235
Bio/Graphics/GenomeDiagram/_FeatureSet.py
216187
Bio/Graphics/GenomeDiagram/_GraphSet.py
316334
Bio/Graphics/GenomeDiagram/_Track.py
Clone Instance
1
Line Count
16
Source Line
235
Source File
Bio/Graphics/GenomeDiagram/_FeatureSet.py

    def to_string(self,verbose = 0):
                                   
        ''' to_string(self, verbose=0) -> ""

            o verbose       Boolean indicating whether a short or complete 
\t                    account of the set is required

            Returns a formatted string with information about the set
        ''' 
        if not verbose:         # Short account only required
            return "%s"%self 
        else:                   # Long account desired
            outstr = ["""
<%s: %s>"""           %(self.__class__,self.name)] 
            outstr.append("%d features"%len(self.features)) 
            for key in self.features: 
                 outstr.append("feature: %s"%self.features[key]) 
            return """
"""                    .join(outstr) 
        


Clone Instance
2
Line Count
16
Source Line
187
Source File
Bio/Graphics/GenomeDiagram/_GraphSet.py

    def to_string(self,verbose = 0):
                                   
        ''' to_string(self, verbose=0) -> ""

            o verbose       Flag indicating whether a short or complete account
                            of the set is required

            Returns a formatted string with information about the set
        ''' 
        if not verbose: 
             return "%s"%self 
        else: 
             outstr = ["""
<%s: %s>"""            %(self.__class__,self.name)] 
             outstr.append("%d graphs"%len(self._graphs)) 
             for key in self._graphs: 
                  outstr.append("%s"%self._graphs[key]) 
             return """
"""                     .join(outstr) 
        


Clone Instance
3
Line Count
16
Source Line
334
Source File
Bio/Graphics/GenomeDiagram/_Track.py

    def to_string(self,verbose = 0):
                                   
        ''' to_string(self, verbose=0) -> ""

            o verbose       Boolean indicating whether a short or complete
                            account of the track is required

            Returns a formatted string with information about the track
        ''' 
        if not verbose:             # Return the short description
            return "%s"%self        # Use __str__ method instead
        else:                       # Return the long desription
            outstr = ["""
<%s: %s>"""           %(self.__class__,self.name)] 
            outstr.append("%d sets"%len(self._sets)) 
            for key in self._sets: 
                 outstr.append("set: %s"%self._sets[key]) 
            return """
"""                    .join(outstr) 
        


Clone AbstractionParameter Count: 4Parameter Bindings

def to_string(self,verbose = 0):
   [[#variable2cdc3960]]
  if not verbose: # Short account only required # Return the short description
    return "%s"%self # Use __str__ method instead
  else: # Long account desired # Return the long desription
    outstr = ["""
<%s: %s>"""   %(self.__class__,self.name)] 
    outstr.append( [[#variable73024b40]]%len(self. [[#variable77411da0]])) 
    for key in self. [[#variable77411da0]]:
    
      outstr.append( [[#variable75465740]]%self. [[#variable77411da0]][key]) 
    return """
"""        .join(outstr) 
  
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2cdc3960]]
''' to_string(self, verbose=0) -> ""

            o verbose       Boolean indicating whether a short or complete 
\t                    account of the set is required

            Returns a formatted string with information about the set
        ''' 
12[[#2cdc3960]]
''' to_string(self, verbose=0) -> ""

            o verbose       Flag indicating whether a short or complete account
                            of the set is required

            Returns a formatted string with information about the set
        ''' 
13[[#2cdc3960]]
''' to_string(self, verbose=0) -> ""

            o verbose       Boolean indicating whether a short or complete
                            account of the track is required

            Returns a formatted string with information about the track
        ''' 
21[[#73024b40]]
"%d features" 
22[[#73024b40]]
"%d graphs" 
23[[#73024b40]]
"%d sets" 
31[[#77411da0]]
features 
32[[#77411da0]]
_graphs 
33[[#77411da0]]
_sets 
41[[#75465740]]
"feature: %s" 
42[[#75465740]]
"%s" 
43[[#75465740]]
"set: %s"