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)
_______________________________________________
relax (http://nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits