CloneSet114


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19210.997file_input_element_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119194
Bio/KEGG/Compound/__init__.py
219296
Bio/KEGG/Enzyme/__init__.py
Clone Instance
1
Line Count
19
Source Line
194
Source File
Bio/KEGG/Compound/__init__.py

def _test( ):
            
    """Run the Bio.KEGG.Compound module's doctests.
    
    This will try and locate the unit tests directory, and run the doctests
    from there in order that the relative paths used in the examples work.
    """ 
    import doctest 
    import os 
    if os.path.isdir(os.path.join("..","..","..","Tests")): 
        print "Runing doctests..." 
        cur_dir = os.path.abspath(os.curdir) 
        os.chdir(os.path.join("..","..","..","Tests")) 
        doctest.testmod( ) 
        os.chdir(cur_dir) 
        del cur_dir 
        print "Done" 
    
if __name__=="__main__":  
    _test( ) 


Clone Instance
2
Line Count
19
Source Line
296
Source File
Bio/KEGG/Enzyme/__init__.py

def _test( ):
            
    """Run the Bio.KEGG.Enzyme module's doctests.
    
    This will try and locate the unit tests directory, and run the doctests
    from there in order that the relative paths used in the examples work.
    """ 
    import doctest 
    import os 
    if os.path.isdir(os.path.join("..","..","..","Tests")): 
        print "Runing doctests..." 
        cur_dir = os.path.abspath(os.curdir) 
        os.chdir(os.path.join("..","..","..","Tests")) 
        doctest.testmod( ) 
        os.chdir(cur_dir) 
        del cur_dir 
        print "Done" 
    
if __name__=="__main__":  
    _test( ) 


Clone AbstractionParameter Count: 1Parameter Bindings

def _test( ):
   [[#variable60063de0]]
  import doctest 
  import os 
  if os.path.isdir(os.path.join("..","..","..","Tests")):
  
    print "Runing doctests..." 
    cur_dir = os.path.abspath(os.curdir) 
    os.chdir(os.path.join("..","..","..","Tests")) 
    doctest.testmod( ) 
    os.chdir(cur_dir) 
    del cur_dir 
    print "Done" 
  
if __name__=="__main__":
  _test( ) 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#60063de0]]
"""Run the Bio.KEGG.Enzyme module's doctests.
    
    This will try and locate the unit tests directory, and run the doctests
    from there in order that the relative paths used in the examples work.
    """ 
12[[#60063de0]]
"""Run the Bio.KEGG.Compound module's doctests.
    
    This will try and locate the unit tests directory, and run the doctests
    from there in order that the relative paths used in the examples work.
    """