Changeset 15331
- Timestamp:
- 06/25/13 10:05:16 (12 years ago)
- Location:
- issm/trunk-jpl/src/m/classes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/pairoptions.m
r15131 r15331 33 33 %check length of input 34 34 if mod((nargin-1),2), 35 error(' error: an even number of options is required')35 error('Invalid parameter/value pair arguments') 36 36 end 37 37 numoptions = (nargin-1)/2; -
issm/trunk-jpl/src/m/classes/pairoptions.py
r15131 r15331 46 46 #check length of input 47 47 if len(arg) % 2: 48 raise TypeError(' error: an even number of options is required')48 raise TypeError('Invalid parameter/value pair arguments') 49 49 numoptions = len(arg)/2 50 50 -
issm/trunk-jpl/src/m/classes/plotoptions.m
r14866 r15331 45 45 %check length of input 46 46 if mod((nargin-1),2), 47 error(' buildlist error message: an even number of plotoptions is required')47 error('Invalid parameter/value pair arguments') 48 48 end 49 49 -
issm/trunk-jpl/src/m/classes/plotoptions.py
r14640 r15331 38 38 #check length of input 39 39 if len(arg) % 2: 40 raise TypeError(' error: an even number of options is required')40 raise TypeError('Invalid parameter/value pair arguments') 41 41 42 42 #go through args and build list (like pairoptions)
Note:
See TracChangeset
for help on using the changeset viewer.