Changeset 24252 for issm/trunk-jpl/src/m/solve/loadresultsfromdisk.py
- Timestamp:
- 10/17/19 20:43:19 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/solve/loadresultsfromdisk.py
r24240 r24252 39 39 if os.path.exists(md.miscellaneous.name + '.errlog'): 40 40 with open(md.miscellaneous.name + '.errlog', 'r') as f: 41 setattr(getattr(md.results, structure[0].SolutionType)[0], 'errlog', [line[: 41 setattr(getattr(md.results, structure[0].SolutionType)[0], 'errlog', [line[:-1] for line in f]) 42 42 else: 43 43 setattr(getattr(md.results, structure[0].SolutionType)[0], 'errlog', []) … … 45 45 if os.path.exists(md.miscellaneous.name + '.outlog'): 46 46 with open(md.miscellaneous.name + '.outlog', 'r') as f: 47 setattr(getattr(md.results, structure[0].SolutionType)[0], 'outlog', [line[: 47 setattr(getattr(md.results, structure[0].SolutionType)[0], 'outlog', [line[:-1] for line in f]) 48 48 else: 49 49 setattr(getattr(md.results, structure[0].SolutionType)[0], 'outlog', [])
Note:
See TracChangeset
for help on using the changeset viewer.