Changeset 25456


Ignore:
Timestamp:
08/25/20 00:34:55 (5 years ago)
Author:
bdef
Message:

BUG: basestring does not exist in py3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/plot/processmesh.py

    r25455 r25456  
    1313    TODO:
    1414    - Test application of matlplotlib.delaunay
    15     - Test that output of delaunay matches output of delaunay in MATLAB (see 
     15    - Test that output of delaunay matches output of delaunay in MATLAB (see
    1616    src/m/plot/processmesh.m)
    1717    """
     
    6262        z = np.zeros(np.shape(md.mesh.x))
    6363    z = options.getfieldvalue('z', z)
    64     if isinstance(z, basestring):
     64    if isinstance(z, str):
    6565        z = getattr(md, z)
    6666
     
    9090        z = z * unit
    9191
    92     #is model a member of planet class? 
     92    #is model a member of planet class?
    9393    #
    9494    # TODO: Change this when planet class defined (see src/m/plot/processmesh.m)
Note: See TracChangeset for help on using the changeset viewer.