fix UB matrix last column printout

This commit is contained in:
Anna Bergamaschi
2024-06-30 21:17:06 +02:00
parent 3f03ae0d00
commit d7f6f3efb3
@@ -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: