Protool/structure.py
def SetPosition(self,uniqueid,coords): 
        """Set the coordinates of this atom"""
        if not self.atoms.has_key(uniqueid):
            raise AtomNotFoundError,uniqueid
        self.atoms[uniqueid]['X']=coords[0]
        self.atoms[uniqueid]['Y']=coords[1]
        self.atoms[uniqueid]['Z']=coords[2]
        return
Set the coordinates of this atom
Set the coordinates of this atom
Set the coordinates of this atom
def SetPosition(self,uniqueid,coords): 
        if not self.atoms.has_key(uniqueid):
            raise AtomNotFoundError,uniqueid
        self.atoms[uniqueid]['X']=coords[0]
        self.atoms[uniqueid]['Y']=coords[1]
        self.atoms[uniqueid]['Z']=coords[2]
        return
def SetPosition ( self , uniqueid , coords ) : if not self . atoms . has_key ( uniqueid ) : raise AtomNotFoundError , uniqueid self . atoms [ uniqueid ] [ 'X' ] = coords [ 0 ] self . atoms [ uniqueid ] [ 'Y' ] = coords [ 1 ] self . atoms [ uniqueid ] [ 'Z' ] = coords [ 2 ] return
Set the coordinates of this atom
Set the coordinates of this atom
"""Set the coordinates of this atom"""
self
uniqueid
coords