Changeset 2428 for TOOLS/ConsoGENCMIP6/bin/gencmip6.py
- Timestamp:
- 03/02/15 18:10:22 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/ConsoGENCMIP6/bin/gencmip6.py
r2427 r2428 43 43 """ 44 44 """ 45 if unicode(x).isdecimal(): 46 x = x + "o" 47 45 48 (size, unit) = (float(x[:-1]), x[-1]) 49 46 50 return SizeUnit(size, unit) 47 51 … … 213 217 """ 214 218 """ 215 prefixes = [" K", "M", "G", "T", "P", "H"]219 prefixes = ["o", "K", "M", "G", "T", "P", "H"] 216 220 217 221 if not self.size or \
Note: See TracChangeset
for help on using the changeset viewer.