CloneSet221


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000stmt_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18178
Bio/AlignIO/__init__.py
28333
Bio/SeqIO/__init__.py
Clone Instance
1
Line Count
8
Source Line
178
Source File
Bio/AlignIO/__init__.py

    #Try and give helpful error messages:
    if isinstance(handle,basestring):  
        raise TypeError("Need a file handle, not a string (i.e. not a filename)") 
    if not isinstance(format,basestring):  
        raise TypeError("Need a string for the file format (lower case)") 
    if not format: 
        raise ValueError("Format required (lower case string)") 
    if format!=format.lower( ):  
        raise ValueError("Format string '%s' should be lower case"%format) 


Clone Instance
2
Line Count
8
Source Line
333
Source File
Bio/SeqIO/__init__.py

    #Try and give helpful error messages:
    if isinstance(handle,basestring):  
        raise TypeError("Need a file handle, not a string (i.e. not a filename)") 
    if not isinstance(format,basestring):  
        raise TypeError("Need a string for the file format (lower case)") 
    if not format: 
        raise ValueError("Format required (lower case string)") 
    if format!=format.lower( ):  
        raise ValueError("Format string '%s' should be lower case"%format) 


Clone AbstractionParameter Count: 0Parameter Bindings

#Try and give helpful error messages:
if isinstance(handle,basestring):
  raise TypeError("Need a file handle, not a string (i.e. not a filename)") 
if not isinstance(format,basestring):
  raise TypeError("Need a string for the file format (lower case)") 
if not format:
  raise ValueError("Format required (lower case string)") 
if format!=format.lower( ):
  raise ValueError("Format string '%s' should be lower case"%format) 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None