Author: bugman Date: Wed Jul 9 19:21:47 2008 New Revision: 6918 URL: http://svn.gna.org/viewcvs/relax?rev=6918&view=rev Log: Fixed the calculation of the total number of spins and alignments. Modified: branches/rdc_analysis/maths_fns/n_state_model.py Modified: branches/rdc_analysis/maths_fns/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/maths_fns/n_state_model.py?rev=6918&r1=6917&r2=6918&view=diff ============================================================================== --- branches/rdc_analysis/maths_fns/n_state_model.py (original) +++ branches/rdc_analysis/maths_fns/n_state_model.py Wed Jul 9 19:21:47 2008 @@ -110,10 +110,10 @@ raise RelaxError, "The xh_vect argument " + `xh_vect` + " must be supplied." # The total number of spins. - self.num_spins = len(rdcs) + self.num_spins = len(rdcs[0]) # The total number of alignments. - self.num_align = len(rdcs[0]) + self.num_align = len(rdcs) # Store the data. self.rdcs = rdcs