Author: bugman Date: Sat Oct 7 17:32:17 2006 New Revision: 2605 URL: http://svn.gna.org/viewcvs/relax?rev=2605&view=rev Log: Fix for bug #7277 (https://gna.org/bugs/?7277). This bug was reported by Alex Hansen. The problem was that the 'self.relax.generic_fns.palmer.create()' function was skipping spins when no relaxation data was present whereas the complementary funtion 'self.relax.generic_fns.palmer.extract()' was not skipping these spins. Hence the second of these functions was expecting more spins than were in the modelfree4 generated 'mfout' file. Modified: 1.2/generic_fns/palmer.py Modified: 1.2/generic_fns/palmer.py URL: http://svn.gna.org/viewcvs/relax/1.2/generic_fns/palmer.py?rev=2605&r1=2604&r2=2605&view=diff ============================================================================== --- 1.2/generic_fns/palmer.py (original) +++ 1.2/generic_fns/palmer.py Sat Oct 7 17:32:17 2006 @@ -534,6 +534,10 @@ if not hasattr(data, 'model'): continue + # No relaxation data. + if not hasattr(data, 'num_frq'): + continue + # Get the S2 data. if 'S2' in data.params: data.s2, data.s2_err = self.get_mf_data(self.mfout_S2_pos + pos)