Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 1 | 0.991 | stmt_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 485 | Bio/Restriction/_Update/RestrictionCompiler.py |
2 | 14 | 534 | Bio/Restriction/_Update/RestrictionCompiler.py |
| ||||
try : import Bio.Restriction.Restriction_Dictionary as rd except ImportError: print """ Unable to locate the previous Restriction_Dictionary.py module Aborting installation.""" sys.exit( ) # # first save the old file in Updates # old = os.path.join(os.path.split(rd.__file__)[0],"Restriction_Dictionary.py") #update_folder = config.updatefolder update_folder = os.getcwd( ) shutil.copyfile(old,os.path.join(update_folder,"Restriction_Dictionary.old")) |
| ||||
#update = config.updatefolder try : import Bio.Restriction.Restriction_Dictionary as rd except ImportError: print """ Unable to locate the previous Restriction_Dictionary.py module Aborting installation.""" sys.exit( ) # # first save the old file in Updates # old = os.path.join(os.path.split(rd.__file__)[0],"Restriction_Dictionary.py") update = os.getcwd( ) shutil.copyfile(old,os.path.join(update,"Restriction_Dictionary.old")) |
| |||
#update = config.updatefolder try : import Bio.Restriction.Restriction_Dictionary as rd except ImportError: print """ Unable to locate the previous Restriction_Dictionary.py module Aborting installation.""" sys.exit( ) # # first save the old file in Updates # old = os.path.join(os.path.split(rd.__file__)[0],"Restriction_Dictionary.py") [[#variable6083fa40]]= os.getcwd( ) shutil.copyfile(old,os.path.join( [[#variable6083fa40]],"Restriction_Dictionary.old")) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6083fa40]] | update |
1 | 2 | [[#6083fa40]] | #update_folder = config.updatefolder update_folder |