def DefineSet( self, residues, name):
        
        self.mOutfile.write("define " + name + " ")
        step_size = 20
        i = 1
        while i < len(residues):
            self.mOutfile.write(string.join( map(str,residues[i:i%step_size]), ","))
            i += step_size
            if i < len(residues):
                self.mOutfile.write( ",\n")
        self.mOutfile.write("\n")
dataset/ETHPy150Open CGATOxford/cgat/legacy/PdbTools.py/RasmolView.DefineSet/operator `+` -> `%`