corrected increment offsetting for spectral file type. should now be consistent with new (0+N) mpie_spectral output scheme
This commit is contained in:
parent
51763ed93e
commit
a989aa979e
|
@ -753,9 +753,6 @@ else:
|
|||
offset_inc = 0
|
||||
if options.range:
|
||||
options.range = list(options.range)
|
||||
if options.filetype == 'spectral':
|
||||
options.range[0] -= 1
|
||||
options.range[1] -= 1
|
||||
increments = range( max(0,options.range[0]),
|
||||
min(stat['NumberOfIncrements'],options.range[1]+1),
|
||||
options.range[2])
|
||||
|
@ -843,6 +840,7 @@ for incCount,increment in enumerate(increments):
|
|||
'label': 'location',
|
||||
'content': [myElemID,myNodeID,myGrainID] + myIpCoordinates[n],
|
||||
}) # first entry in this list always contains the location data
|
||||
# print group,sys.getsizeof(data) # better way of tracing leaks: http://www.lshift.net/blog/2008/11/14/tracing-python-memory-leaks
|
||||
|
||||
# --- get data from t16 file
|
||||
|
||||
|
|
Loading…
Reference in New Issue