Changeset 16465
- Timestamp:
- 10/18/13 16:28:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/consistency/checkfield.py
r16460 r16465 140 140 #Check row of strings 141 141 if options.exist('stringrow'): 142 if not numpy.size(field,1)==1 and not numpy.size(field,1)==0:142 if not isinstance(field,list): 143 143 md = md.checkmessage(options.getfieldvalue('message',\ 144 "field '%s' should have 1 row" %fieldname))144 "field '%s' should be a list" %fieldname)) 145 145 146 146 #Check forcings (size and times)
Note:
See TracChangeset
for help on using the changeset viewer.