mailr5859 - /1.3/generic_fns/structure/scientific.py


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

Header


Content

Posted by edward on April 20, 2008 - 18:51:
Author: bugman
Date: Sun Apr 20 18:50:59 2008
New Revision: 5859

URL: http://svn.gna.org/viewcvs/relax?rev=5859&view=rev
Log:
Fix for the load_structures() method, the model arg should be a keyword arg.


Modified:
    1.3/generic_fns/structure/scientific.py

Modified: 1.3/generic_fns/structure/scientific.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/scientific.py?rev=5859&r1=5858&r2=5859&view=diff
==============================================================================
--- 1.3/generic_fns/structure/scientific.py (original)
+++ 1.3/generic_fns/structure/scientific.py Sun Apr 20 18:50:59 2008
@@ -276,13 +276,13 @@
                             raise RelaxError, "The atom_id argument " + 
`atom_id` + " must correspond to a single atom."
 
 
-    def load_structures(self, file_path, model, verbosity=False):
+    def load_structures(self, file_path, model=None, verbosity=False):
         """Function for loading the structures from the PDB file.
 
         @param file_path:   The full path of the file.
         @type file_path:    str
         @param model:       The PDB model to use.
-        @type model:        int
+        @type model:        None or int
         @keyword verbosity: A flag which if True will cause messages to be 
printed.
         @type verbosity:    bool
         """




Related Messages


Powered by MHonArc, Updated Sun Apr 20 19:00:32 2008