mailr5345 - /1.3/generic_fns/structure/internal_pdb.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on April 07, 2008 - 13:48:
Author: bugman
Date: Mon Apr  7 13:48:19 2008
New Revision: 5345

URL: http://svn.gna.org/viewcvs/relax?rev=5345&view=rev
Log:
Changed all the docstrings to say 'method' rather than 'function'.


Modified:
    1.3/generic_fns/structure/internal_pdb.py

Modified: 1.3/generic_fns/structure/internal_pdb.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/internal_pdb.py?rev=5345&r1=5344&r2=5345&view=diff
==============================================================================
--- 1.3/generic_fns/structure/internal_pdb.py (original)
+++ 1.3/generic_fns/structure/internal_pdb.py Mon Apr  7 13:48:19 2008
@@ -54,9 +54,9 @@
 
 
     def atom_add(self, atom_id=None, record_name='', atom_name='', 
res_name='', chain_id='', res_num=None, pos=[None, None, None], 
segment_id='', element=''):
-        """Function for adding an atom to the structural data object.
-
-        This function will create the key-value pair for the given atom.
+        """Method for adding an atom to the structural data object.
+
+        This method will create the key-value pair for the given atom.
 
 
         @param atom_id:     The atom identifier.  This is used as the key 
within the dictionary.
@@ -97,9 +97,9 @@
 
 
     def atom_connect(self, atom_id=None, bonded_id=None):
-        """Function for connecting two atoms within the data structure 
object.
-
-        This function will find the atom number corresponding to both the 
atom_id and bonded_id.
+        """Method for connecting two atoms within the data structure object.
+
+        This method will find the atom number corresponding to both the 
atom_id and bonded_id.
         The bonded_id atom number will then be appended to the atom_id 
array.  Because the
         connections work both ways in the PDB file, the atom_id atom number 
will be appended to the
         bonded_id atom array as well.
@@ -132,7 +132,7 @@
 
 
     def get_chemical_name(self, hetID):
-        """Function for returning the chemical name corresponding to the 
given residue ID.
+        """Method for returning the chemical name corresponding to the given 
residue ID.
 
         The following names are currently returned:
         ________________________________________________
@@ -186,7 +186,7 @@
 
 
     def terminate(self, atom_id_ext='', res_num=None):
-        """Function for terminating the chain by adding a TER record to the 
structral data object.
+        """Method for terminating the chain by adding a TER record to the 
structral data object.
 
         @param atom_id_ext:     The atom identifier extension.
         @type atom_id_ext:      str




Related Messages


Powered by MHonArc, Updated Mon Apr 07 14:00:13 2008