Protool/structure.py
def GetPosition(self,uniqueid):
        """
        # This function loads the X, Y and Z coordinates of the atom
        # in an Numeric Python vector
        """
        if not self.atoms.has_key(uniqueid):
            raise AtomNotFoundError,uniqueid
        if not self.atoms[uniqueid].has_key('X') or not self.atoms[uniqueid].has_key('Y') or not self.atoms[uniqueid].has_key('Z'):
            print self.atoms[uniqueid]
            raise IncompletePositionError, uniqieid
        return Numeric.array([self.atoms[uniqueid]['X'],self.atoms[uniqueid]['Y'],self.atoms[uniqueid]['Z']])

        # This function loads the X, Y and Z coordinates of the atom
        # in an Numeric Python vector
        
This function loads the X, Y and Z coordinates of the atom
in an Numeric Python vector
This function loads the X Y and Z coordinates of the atom in an Numeric Python vector
def GetPosition(self,uniqueid):
        if not self.atoms.has_key(uniqueid):
            raise AtomNotFoundError,uniqueid
        if not self.atoms[uniqueid].has_key('X') or not self.atoms[uniqueid].has_key('Y') or not self.atoms[uniqueid].has_key('Z'):
            print self.atoms[uniqueid]
            raise IncompletePositionError, uniqieid
        return Numeric.array([self.atoms[uniqueid]['X'],self.atoms[uniqueid]['Y'],self.atoms[uniqueid]['Z']])
def GetPosition ( self , uniqueid ) : if not self . atoms . has_key ( uniqueid ) : raise AtomNotFoundError , uniqueid if not self . atoms [ uniqueid ] . has_key ( 'X' ) or not self . atoms [ uniqueid ] . has_key ( 'Y' ) or not self . atoms [ uniqueid ] . has_key ( 'Z' ) : print self . atoms [ uniqueid ] raise IncompletePositionError , uniqieid return Numeric . array ( [ self . atoms [ uniqueid ] [ 'X' ] , self . atoms [ uniqueid ] [ 'Y' ] , self . atoms [ uniqueid ] [ 'Z' ] ] )
This function loads the X, Y and Z coordinates of the atom
 in an Numeric Python vector
This function loads the X Y and Z coordinates of the atom in an Numeric Python vector
"""
        # This function loads the X, Y and Z coordinates of the atom
        # in an Numeric Python vector
        """
self
uniqueid