Changeset 1905 in lmdz_wrf for trunk/tools/generic_tools.py


Ignore:
Timestamp:
Apr 13, 2018, 3:15:37 PM (7 years ago)
Author:
lfita
Message:

Fixing absence of `or' in 'Nstr'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r1904 r1905  
    1305913059    if type(number) == type(1) or type(number) == type(long(1)):
    1306013060        newStr = '{:d}'.format(number)
    13061     elif type(number) == type(np.int16(1)) type(number) == type(np.int32(1)) or      \
     13061    elif type(number) == type(np.int16(1)) or type(number) == type(np.int32(1)) or   \
    1306213062      type(number) == type(np.int64(1)):
    1306313063        newStr = '{:d}'.format(number)
Note: See TracChangeset for help on using the changeset viewer.