Author: bugman Date: Sun Apr 20 19:59:07 2008 New Revision: 5871 URL: http://svn.gna.org/viewcvs/relax?rev=5871&view=rev Log: Bug fix for the Selection.contains_mol() method. The recursive call was misspelt. Modified: 1.3/generic_fns/selection.py Modified: 1.3/generic_fns/selection.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/selection.py?rev=5871&r1=5870&r2=5871&view=diff ============================================================================== --- 1.3/generic_fns/selection.py (original) +++ 1.3/generic_fns/selection.py Sun Apr 20 19:59:07 2008 @@ -276,11 +276,11 @@ # The selection object is a union. if self._union: - return self._union[0].cotains_mol(mol) or self._union[1].contains_mol(mol) + return self._union[0].contains_mol(mol) or self._union[1].contains_mol(mol) # The selection object is an intersection. elif self._intersect: - return self._intersect[0].cotains_mol(mol) and self._intersect[1].contains_mol(mol) + return self._intersect[0].contains_mol(mol) and self._intersect[1].contains_mol(mol) # The check. if mol in self.molecules: