Changeset 14105


Ignore:
Timestamp:
12/07/12 10:58:55 (12 years ago)
Author:
jschierm
Message:

FIX: Results in outbin are not necessarily in increasing step order.

File:
1 edited

Legend:

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

    r13966 r14105  
    4343        result=ReadData(fid)
    4444        while result:
    45                 if result['step'] > len(results):
     45                if   result['step'] > len(results):
    4646                        for i in xrange(len(results),result['step']-1):
    4747                                results.append(None)
    4848                        results.append(resultsclass.results())
     49                elif results[result['step']-1] is None:
     50                        results[result['step']-1]=resultsclass.results()
    4951                #Get time and step
    5052                setattr(results[result['step']-1],'step',result['step'])
Note: See TracChangeset for help on using the changeset viewer.