Ignore:
Timestamp:
10/17/19 20:43:19 (5 years ago)
Author:
jdquinn
Message:

BUG: Extra spaces (not quite finished, but committing progress)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/solve/loadresultsfromdisk.py

    r24240 r24252  
    3939        if os.path.exists(md.miscellaneous.name + '.errlog'):
    4040            with open(md.miscellaneous.name + '.errlog', 'r') as f:
    41                 setattr(getattr(md.results, structure[0].SolutionType)[0], 'errlog', [line[: -1] for line in f])
     41                setattr(getattr(md.results, structure[0].SolutionType)[0], 'errlog', [line[:-1] for line in f])
    4242        else:
    4343            setattr(getattr(md.results, structure[0].SolutionType)[0], 'errlog', [])
     
    4545        if os.path.exists(md.miscellaneous.name + '.outlog'):
    4646            with open(md.miscellaneous.name + '.outlog', 'r') as f:
    47                 setattr(getattr(md.results, structure[0].SolutionType)[0], 'outlog', [line[: -1] for line in f])
     47                setattr(getattr(md.results, structure[0].SolutionType)[0], 'outlog', [line[:-1] for line in f])
    4848        else:
    4949            setattr(getattr(md.results, structure[0].SolutionType)[0], 'outlog', [])
Note: See TracChangeset for help on using the changeset viewer.