Class to handle all the various files for each PDB code.
    |  | 
        
          | __init__(self,
        code,
        debug=False) Create a Code object.
 |  |  | 
    |  | 
        
          | addChain(self,
        chain) Add another Chain ID to be extracted from the parent file.
 |  |  | 
    | bool | 
        
          | sidechains(self) Check if any chains are to be extracted.
 |  |  | 
    |  | 
        
          | wholePDB(self) Returns True if the whole PDB file should be kept
 |  |  | 
    |  | 
        
          | findLocally(self,
        local_dirs) Check a series of local directories and filenames for the PDB files.
 |  |  | 
    |  | 
        
          | handleObsolete(self) Print a warning if we are using a file from the obsolete directory
 |  |  | 
    |  | 
        
          | openFiles(self,
        web=False) Prepare all the chain and whole PDB files for writing.
 |  |  | 
    |  | 
        
          | write(self,
        line) Write line to each of the appropriate files
 |  |  | 
    | bool | 
        
          | checkOK(self) Check to make sure all the files were written properly.
 |  |  | 
    |  | 
        
          | closeFiles(self) Close all the files
 |  |  | 
  
    | Inherited from object:__delattr__,__format__,__getattribute__,__hash__,__new__,__reduce__,__reduce_ex__,__repr__,__setattr__,__sizeof__,__str__,__subclasshook__ |