diff --git a/processing/post/addIndexed.py b/processing/post/addIndexed.py index fde7d7eb7..98fed597b 100755 --- a/processing/post/addIndexed.py +++ b/processing/post/addIndexed.py @@ -59,6 +59,6 @@ for name in filenames: idx = np.reshape(table.get(options.index).astype(int) + options.offset,(-1))-1 for data in options.label: - table.add(data+'addIndexed',indexedTable.get(data)[idx],scriptID+' '+' '.join(sys.argv[1:])) + table.add(data+'_addIndexed',indexedTable.get(data)[idx],scriptID+' '+' '.join(sys.argv[1:])) table.to_ASCII(sys.stdout if name is None else name) diff --git a/processing/post/addSchmidfactors.py b/processing/post/addSchmidfactors.py index 670824064..94c062766 100755 --- a/processing/post/addSchmidfactors.py +++ b/processing/post/addSchmidfactors.py @@ -203,13 +203,11 @@ for name in filenames: # ------------------------------------------ assemble header --------------------------------------- table.info_append(scriptID + '\t' + ' '.join(sys.argv[1:])) - table.labels_append(['{id}_' - 'S[{direction[0]:.1g}_{direction[1]:.1g}_{direction[2]:.1g}]' + table.labels_append(['S[{direction[0]:.1g}_{direction[1]:.1g}_{direction[2]:.1g}]' '({normal[0]:.1g}_{normal[1]:.1g}_{normal[2]:.1g})'\ - .format( id = i+1, - normal = theNormal, + .format(normal = theNormal, direction = theDirection, - ) for i,(theNormal,theDirection) in enumerate(zip(slip_normal,slip_direction))]) + ) for theNormal,theDirection in zip(slip_normal,slip_direction)]) table.head_write() # ------------------------------------------ process data ------------------------------------------