Author: bugman
Date: Mon Jan 19 11:52:37 2009
New Revision: 8517
URL: http://svn.gna.org/viewcvs/relax?rev=8517&view=rev
Log:
Bug fix for the MolList.add_item() method.
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=8517&r1=8516&r2=8517&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/api_base.py (original)
+++ branches/multi_structure/generic_fns/structure/api_base.py Mon Jan 19
11:52:37 2009
@@ -955,7 +955,7 @@
else:
# Test if the molecule already exists.
for i in xrange(len(self)):
- if self[i].name == mol_name:
+ if self[i].mol_name == mol_name:
raise RelaxError, "The molecule '" + `mol_name` + "'
already exists."
# Append an empty MolContainer.
_______________________________________________
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