Changeset 16460


Ignore:
Timestamp:
10/18/13 13:09:40 (11 years ago)
Author:
seroussi
Message:

BUG: consistency in python for requested_outputs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/consistency/checkfield.py

    r16457 r16460  
    140140        #Check row of strings
    141141        if options.exist('stringrow'):
    142                 if not numpy.size(field,1)==1:
     142                if not numpy.size(field,1)==1 and not numpy.size(field,1)==0:
    143143                        md = md.checkmessage(options.getfieldvalue('message',\
    144144                                        "field '%s' should have 1 row" %fieldname))
Note: See TracChangeset for help on using the changeset viewer.