localpdb/plugins/utils/MakeMultimer.py
def _replicateChain(self, chain):
        '''
        apply all applicable transformations to one chain and return all
        resulting copies
        '''
        atoms = self.original_chains[chain]
        replicated = []
        # for i, matrix in enumerate(self.matrices):
        for matrix in self.matrices:
            transformed_atoms = []
            for atom in atoms:
                coords = []
                x, y, z = atom.coords
                for a,b,c,d in matrix:
                    coords.append(a * x + b * y + c * z + d)
                t = atom.transformed(*coords)
                transformed_atoms.append((t, atom.residue))
            replicated.append(transformed_atoms)
        return replicated

        apply all applicable transformations to one chain and return all
        resulting copies
        
apply all applicable transformations to one chain and return all
resulting copies
apply all applicable transformations to one chain and return all resulting copies
def _replicateChain(self, chain):
        atoms = self.original_chains[chain]
        replicated = []
        for matrix in self.matrices:
            transformed_atoms = []
            for atom in atoms:
                coords = []
                x, y, z = atom.coords
                for a,b,c,d in matrix:
                    coords.append(a * x + b * y + c * z + d)
                t = atom.transformed(*coords)
                transformed_atoms.append((t, atom.residue))
            replicated.append(transformed_atoms)
        return replicated
def _replicateChain ( self , chain ) : atoms = self . original_chains [ chain ] replicated = [ ] for matrix in self . matrices : transformed_atoms = [ ] for atom in atoms : coords = [ ] x , y , z = atom . coords for a , b , c , d in matrix : coords . append ( a * x + b * y + c * z + d ) t = atom . transformed ( * coords ) transformed_atoms . append ( ( t , atom . residue ) ) replicated . append ( transformed_atoms ) return replicated
apply all applicable transformations to one chain and return all
resulting copies
apply all applicable transformations to one chain and return all resulting copies
'''
        apply all applicable transformations to one chain and return all
        resulting copies
        ''' # for i, matrix in enumerate(self.matrices):
self
chain