def MT2text(Opr, reverse=False):
    """From space group matrix/translation operator returns text version"""
    XYZ = '-Z', '-Y', '-X', 'X-Y', 'ERR', 'Y-X', 'X', 'Y', 'Z'
    TRA = ('   ', 'ERR', '1/6', '1/4', '1/3', 'ERR', '1/2', 'ERR', '2/3',
        '3/4', '5/6', 'ERR')
    Fld = ''
    M, T = Opr
    for j in range(3):
        IJ = int(round(2 * M[j][0] + 3 * M[j][1] + 4 * M[j][2] + 4)) % 12
        IK = int(round(T[j] * 12)) % 12
        if IK:
            if IJ < 3:
                if reverse:
                    Fld += (XYZ[IJ] + '+' + TRA[IK]).rjust(5)
                else:
                    Fld += (TRA[IK] + XYZ[IJ]).rjust(5)
            elif reverse:
                Fld += (XYZ[IJ] + '+' + TRA[IK]).rjust(5)
            else:
                Fld += (TRA[IK] + '+' + XYZ[IJ]).rjust(5)
        else:
            Fld += XYZ[IJ].rjust(5)
        if j != 2:
            Fld += ', '
    return Fld
