From 83a3628765d4a876610f2e3afb73f921106faefe Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sun, 9 Dec 2018 07:58:42 +0100 Subject: [PATCH] bug fixes --- processing/post/rotateData.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/processing/post/rotateData.py b/processing/post/rotateData.py index 683fbf863..7ed9542cf 100755 --- a/processing/post/rotateData.py +++ b/processing/post/rotateData.py @@ -92,10 +92,10 @@ for name in filenames: column = table.label_index(v) table.data[column:column+3] = q * np.array(list(map(float,table.data[column:column+3]))) for t in active['tensor']: - column = table.label_index(v) + column = table.label_index(t) table.data[column:column+9] = \ - np.dot(R,np.dot(np.array(list(map(float,table.data[column:column+9]]))).\ - reshape((3,3)),R.transpose())).reshape((9)) + np.dot(R,np.dot(np.array(list(map(float,table.data[column:column+9]))).reshape((3,3)), + R.transpose())).reshape((9)) outputAlive = table.data_write() # output processed line # ------------------------------------------ output finalization -----------------------------------