CloneSet63


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20320.995file_input_element_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
120533
Bio/AlignIO/StockholmIO.py
220110
Bio/SeqIO/AceIO.py
320147
Bio/SeqIO/PhdIO.py
Clone Instance
1
Line Count
20
Source Line
533
Source File
Bio/AlignIO/StockholmIO.py

def _test( ):
            
    """Run the Bio.SeqIO 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")) 
        assert os.path.isfile("Stockholm/simple.sth") 
        doctest.testmod( ) 
        os.chdir(cur_dir) 
        del cur_dir 
        print "Done" 
    
if __name__=="__main__":   
    _test( ) 


Clone Instance
2
Line Count
20
Source Line
110
Source File
Bio/SeqIO/AceIO.py

def _test( ):
            
    """Run the Bio.SeqIO 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")) 
        assert os.path.isfile("Ace/consed_sample.ace") 
        doctest.testmod( ) 
        os.chdir(cur_dir) 
        del cur_dir 
        print "Done" 
    
if __name__=="__main__":   
    _test( ) 


Clone Instance
3
Line Count
20
Source Line
147
Source File
Bio/SeqIO/PhdIO.py

def _test( ):
            
    """Run the Bio.SeqIO.PhdIO 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")) 
        assert os.path.isfile("Phd/phd1") 
        doctest.testmod( ) 
        os.chdir(cur_dir) 
        del cur_dir 
        print "Done" 
    
if __name__=="__main__":   
    _test( ) 


Clone AbstractionParameter Count: 2Parameter Bindings

def _test( ):
   [[#variable5d01bae0]]
  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")) 
    assert os.path.isfile( [[#variable5d01baa0]]) 
    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[[#5d01bae0]]
"""Run the Bio.SeqIO.PhdIO 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[[#5d01bae0]]
"""Run the Bio.SeqIO 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.
    """ 
13[[#5d01bae0]]
"""Run the Bio.SeqIO 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.
    """ 
21[[#5d01baa0]]
"Phd/phd1" 
22[[#5d01baa0]]
"Ace/consed_sample.ace" 
23[[#5d01baa0]]
"Stockholm/simple.sth"