From d7f6f3efb328e437c2915010e39e8477b8197bec Mon Sep 17 00:00:00 2001 From: Anna Bergamaschi Date: Sun, 30 Jun 2024 21:17:06 +0200 Subject: [PATCH] fix UB matrix last column printout --- .../bec_ipython_client/high_level_interface/hkl_hli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addams_bec/bec_ipython_client/high_level_interface/hkl_hli.py b/addams_bec/bec_ipython_client/high_level_interface/hkl_hli.py index 6e5d9c0..34e09eb 100644 --- a/addams_bec/bec_ipython_client/high_level_interface/hkl_hli.py +++ b/addams_bec/bec_ipython_client/high_level_interface/hkl_hli.py @@ -361,9 +361,9 @@ def _showUB(): UB = diffract.get_UB() print('Orientation matrix by row:') - print(' Row 1: %8.5f %8.5f %8.5f' % (UB[0,0], UB[0,1], UB[0,1])) - print(' Row 2: %8.5f %8.5f %8.5f' % (UB[1,0], UB[1,1], UB[1,1])) - print(' Row 3: %8.5f %8.5f %8.5f' % (UB[2,0], UB[2,1], UB[2,1])) + print(' Row 1: %8.5f %8.5f %8.5f' % (UB[0,0], UB[0,1], UB[0,2])) + print(' Row 2: %8.5f %8.5f %8.5f' % (UB[1,0], UB[1,1], UB[1,2])) + print(' Row 3: %8.5f %8.5f %8.5f' % (UB[2,0], UB[2,1], UB[2,2])) def _showAngles(angles=None): if angles is None: