edward | 11 May 2012 21:13
Favicon

r16253 - /branches/uf_redesign/prompt/objects.py

Author: bugman
Date: Fri May 11 21:13:28 2012
New Revision: 16253

URL: http://svn.gna.org/viewcvs/relax?rev=16253&view=rev
Log:
Fix for the prompt/script UI modes for the user function arg check of an int list.

The wrong function in the arg_check module was being used.

Modified:
    branches/uf_redesign/prompt/objects.py

Modified: branches/uf_redesign/prompt/objects.py
URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/prompt/objects.py?rev=16253&r1=16252&r2=16253&view=diff
==============================================================================
--- branches/uf_redesign/prompt/objects.py (original)
+++ branches/uf_redesign/prompt/objects.py Fri May 11 21:13:28 2012
 <at>  <at>  -143,7 +143,7  <at>  <at> 
             elif py_type == 'int':
                 arg_check.is_int(value, desc_short, can_be_none=can_be_none)
             elif py_type == 'int_list':
-                arg_check.is_int(value, desc_short, size=dim, can_be_none=can_be_none)
+                arg_check.is_int_list(value, desc_short, size=dim, can_be_none=can_be_none)
             elif py_type == 'int_or_int_list':
                 arg_check.is_int_or_int_list(value, desc_short, size=dim, can_be_none=can_be_none,
can_be_empty=can_be_empty, none_elements=none_elements)
             elif py_type == 'list':

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@...

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits


Gmane