Author: bugman Date: Tue Feb 1 21:37:39 2011 New Revision: 12502 URL: http://svn.gna.org/viewcvs/relax?rev=12502&view=rev Log: Atom types of '.' in the model-free saveframes can now be handled. Modified: branches/bmrb/specific_fns/model_free/bmrb.py Modified: branches/bmrb/specific_fns/model_free/bmrb.py URL: http://svn.gna.org/viewcvs/relax/branches/bmrb/specific_fns/model_free/bmrb.py?rev=12502&r1=12501&r2=12502&view=diff ============================================================================== --- branches/bmrb/specific_fns/model_free/bmrb.py (original) +++ branches/bmrb/specific_fns/model_free/bmrb.py Tue Feb 1 21:37:39 2011 @@ -245,7 +245,7 @@ setattr(spin, 'element', data['atom_types'][i]) # Heteronucleus type. - if'atom_types' in keys and data['atom_types'] != None and 'isotope' in keys and data['isotope'] != None: + if'atom_types' in keys and data['atom_types'] != None and data['atom_types'][i] != None and 'isotope' in keys and data['isotope'] != None: # The isotope number. iso_num = data['isotope'][i]