Changeset 16457


Ignore:
Timestamp:
10/18/13 12:46:31 (11 years ago)
Author:
seroussi
Message:

BUG: trying to update python checkfield for requested_outputs

File:
1 edited

Legend:

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

    r15614 r16457  
    138138                        md = md.checkmessage("file provided in '%s': '%s' does not exist" % (fieldname,field))
    139139
     140        #Check row of strings
     141        if options.exist('stringrow'):
     142                if not numpy.size(field,1)==1:
     143                        md = md.checkmessage(options.getfieldvalue('message',\
     144                                        "field '%s' should have 1 row" %fieldname))
     145
    140146        #Check forcings (size and times)
    141147        if options.getfieldvalue('forcing',0):
Note: See TracChangeset for help on using the changeset viewer.