Author: bugman
Date: Mon Jan 19 10:54:09 2009
New Revision: 8502
URL: http://svn.gna.org/viewcvs/relax?rev=8502&view=rev
Log:
Bug fix for one of the checks in pack_structs().
Modified:
branches/multi_structure/generic_fns/structure/api_base.py
Modified: branches/multi_structure/generic_fns/structure/api_base.py
URL:
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/api_base.py?rev=8502&r1=8501&r2=8502&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/api_base.py (original)
+++ branches/multi_structure/generic_fns/structure/api_base.py Mon Jan 19
10:54:09 2009
@@ -371,7 +371,7 @@
current_models.append(self.structural_data[i].num)
# Loop over the structures.
- for j in range(len(self.structural_data[i])):
+ for j in range(len(self.structural_data[i].mol)):
if self.structural_data[i].num in set_model_num and
self.structural_data[i].mol[j].name in set_mol_name:
raise RelaxError, "The molecule '%s' of model %s already
exists." % (self.structural_data[i].mol[j].name, self.structural_data[i].num)
_______________________________________________
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