Changeset 13411
- Timestamp:
 - 09/20/12 16:41:13 (13 years ago)
 - Location:
 - issm/trunk-jpl/src/m
 - Files:
 - 
      
- 5 added
 - 1 edited
 
- 
          
  classes/pairoptions.py (modified) (2 diffs)
 - 
          
  classes/plotoptions.py (added)
 - 
          
  plot/checkplotoptions.py (added)
 - 
          
  plot/plot_manager.py (added)
 - 
          
  plot/plot_mesh.py (added)
 - 
          
  plot/plotmodel.py (added)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
issm/trunk-jpl/src/m/classes/pairoptions.py
r13116 r13411 41 41 else: 42 42 #option is not a string, ignore it 43 print "WARNING: option number %d '%s' is not a string and will be ignored." % (i+1,type(arg[2*i]))43 print "WARNING: option number %d is not a string and will be ignored." % (i+1) 44 44 # }}} 45 45 … … 128 128 # }}} 129 129 130 # function num = fieldoccurences(obj,field), % {{{ 131 # %FIELDOCCURENCES - get number of occurence of a field 132 # 133 # %check input 134 # if ~ischar(field), 135 # error('fieldoccurences error message: field should be a string'); 136 # end 137 # 138 # %get number of occurence 139 # num=sum(strcmpi(field,obj.list(:,1))); 140 # end % }}} 130 #def fieldoccurences(self,field): #{{{ 131 # ''' 132 # FIELDOCCURENCES - get number of occurence of a field 133 # ''' 134 # 135 # #check input 136 # if not isinstance(field,(str,unicode)): 137 # raise TypeError("fieldoccurences error message: field should be a string") 138 139 # #get number of occurence 140 # # ?? 141 # #return num 142 # #% }}} 141 143 142 144 def getfieldvalue(self,field,default=None): # {{{  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)