Author: bugman Date: Mon Jan 18 17:34:19 2010 New Revision: 10244 URL: http://svn.gna.org/viewcvs/relax?rev=10244&view=rev Log: The number of elements in the atomic position arg is now checked to be 3. Modified: 1.3/prompt/pcs.py Modified: 1.3/prompt/pcs.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/pcs.py?rev=10244&r1=10243&r2=10244&view=diff ============================================================================== --- 1.3/prompt/pcs.py (original) +++ 1.3/prompt/pcs.py Mon Jan 18 17:34:19 2010 @@ -128,7 +128,7 @@ print(text) # The argument checks. - arg_check.is_num_list(pos, 'atomic position', can_be_none=True) + arg_check.is_num_list(pos, 'atomic position', size=3, can_be_none=True) arg_check.is_str(atom_id, 'atom ID string', can_be_none=True) arg_check.is_str(pipe, 'data pipe', can_be_none=True) arg_check.is_int(verbosity, 'verbosity level')