Author: bugman Date: Fri Apr 11 14:40:55 2008 New Revision: 5581 URL: http://svn.gna.org/viewcvs/relax?rev=5581&view=rev Log: Readded the condition to catch if no molecules can be identified in atom_loop(). Modified: 1.3/generic_fns/structure/scientific.py Modified: 1.3/generic_fns/structure/scientific.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/scientific.py?rev=5581&r1=5580&r2=5581&view=diff ============================================================================== --- 1.3/generic_fns/structure/scientific.py (original) +++ 1.3/generic_fns/structure/scientific.py Fri Apr 11 14:40:55 2008 @@ -106,8 +106,12 @@ molecule.append('nucleic acid') # Other molecules. + elif struct.molecules: + pass # for now. + + # We have a problem! else: - pass # for now. + raise RelaxNoPdbChainError # Loop over each individual molecules. for mol in comps: