Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 3 | 2 | 0.995 | file_input_element_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 533 | Bio/AlignIO/StockholmIO.py |
2 | 20 | 110 | Bio/SeqIO/AceIO.py |
3 | 20 | 147 | Bio/SeqIO/PhdIO.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( ) |
| ||||
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( ) |
| ||||
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( ) |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#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. """ |
1 | 2 | [[#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. """ |
1 | 3 | [[#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. """ |
2 | 1 | [[#5d01baa0]] | "Phd/phd1" |
2 | 2 | [[#5d01baa0]] | "Ace/consed_sample.ace" |
2 | 3 | [[#5d01baa0]] | "Stockholm/simple.sth" |