CloneSet70


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20310.997file_input_element_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119445
Bio/AlignIO/__init__.py
219497
Bio/Clustalw/__init__.py
320137
Bio/Motif/__init__.py
Clone Instance
1
Line Count
19
Source Line
445
Source File
Bio/AlignIO/__init__.py

def _test( ):
            
    """Run the Bio.AlignIO 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
497
Source File
Bio/Clustalw/__init__.py

def _test( ):
            
    """Run the Bio.Clustalw module's doctests (PRIVATE).

    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
3
Line Count
20
Source Line
137
Source File
Bio/Motif/__init__.py

def _test( ):
            
    """Run the Bio.Motif 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__":  
    #Run the doctests
    _test( ) 


Clone AbstractionParameter Count: 1Parameter Bindings

def _test( ):
   [[#variable60ce95e0]]
  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__":
  #Run the doctests
  _test( ) 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#60ce95e0]]
"""Run the Bio.Motif 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[[#60ce95e0]]
"""Run the Bio.Clustalw module's doctests (PRIVATE).

    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.
    """ 
13[[#60ce95e0]]
"""Run the Bio.AlignIO 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.
    """