mailr8500 - /branches/multi_structure/generic_fns/structure/internal.py


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

Header


Content

Posted by edward on January 16, 2009 - 17:49:
Author: bugman
Date: Fri Jan 16 17:49:22 2009
New Revision: 8500

URL: http://svn.gna.org/viewcvs/relax?rev=8500&view=rev
Log:
Removed some redundant code.


Modified:
    branches/multi_structure/generic_fns/structure/internal.py

Modified: branches/multi_structure/generic_fns/structure/internal.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/internal.py?rev=8500&r1=8499&r2=8500&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/internal.py (original)
+++ branches/multi_structure/generic_fns/structure/internal.py Fri Jan 16 
17:49:22 2009
@@ -67,10 +67,6 @@
         @keyword str:           The object containing the structural data.
         @type str:              Structure_container instance
         """
-
-        # Check if the target is a single model.
-        if model == None and self.num_models() > 1:
-            raise RelaxError, "The target model cannot be determined as 
there are %s models already present." % self.num_modes()
 
         # Get the model.
         model_cont = self.get_model(model)




Related Messages


Powered by MHonArc, Updated Sat Jan 17 12:40:02 2009