Author: bugman Date: Tue Dec 8 16:43:17 2009 New Revision: 10074 URL: http://svn.gna.org/viewcvs/relax?rev=10074&view=rev Log: The PCS centre position can now be a numpy array. Modified: 1.3/generic_fns/pcs.py Modified: 1.3/generic_fns/pcs.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/pcs.py?rev=10074&r1=10073&r2=10074&view=diff ============================================================================== --- 1.3/generic_fns/pcs.py (original) +++ 1.3/generic_fns/pcs.py Tue Dec 8 16:43:17 2009 @@ -168,7 +168,7 @@ raise RelaxError("The paramagnetic centre has already been set to the coordinates " + repr(cdp.paramagnetic_centre) + ".") # Position is supplied. - if pos: + if pos != None: centre = array(pos) num_pos = 1 full_pos_list = []