diff --git a/processing/post/spectral_iterationCount b/processing/post/spectral_iterationCount index 00c7b5c24..54f68e01f 100755 --- a/processing/post/spectral_iterationCount +++ b/processing/post/spectral_iterationCount @@ -79,8 +79,8 @@ for file in files: False : file['input']}[options.memory]: items = line.split() - if len(items) > 7 and items[0] == 'Loadcase': # 'magic' line? - if int(items[5]) == step and int(items[2]) == loadcase: + if len(items) > 8 and items[1] == 'Loadcase': # 'magic' line? + if int(items[6]) == step and int(items[3]) == loadcase: iter += 1 # next iteration found else: output += '\t'.join(map(str,[inc,iter])) + '\n'