switched order of command line options to make consequence of “degrees” switch more clear, i.e., it affects both the tolerance and Euler angles…

This commit is contained in:
Philip Eisenlohr 2015-06-29 09:40:44 +00:00
parent e61050dcde
commit fcdd80bba3
1 changed files with 2 additions and 2 deletions

View File

@ -36,6 +36,8 @@ parser.add_option('--coordinates', dest='coordinates', type='string', metav
help='coordinates label') help='coordinates label')
parser.add_option('--phase', dest='phase', type='string', metavar='string', parser.add_option('--phase', dest='phase', type='string', metavar='string',
help='phase label') help='phase label')
parser.add_option('-t', '--tolerance', dest='tolerance', type='float', metavar='float',
help = 'angular tolerance for orientation squashing [%default]')
parser.add_option('-e', '--eulers', dest='eulers', metavar='string', parser.add_option('-e', '--eulers', dest='eulers', metavar='string',
help = 'Euler angles label') help = 'Euler angles label')
parser.add_option('-d', '--degrees', dest='degrees', action='store_true', parser.add_option('-d', '--degrees', dest='degrees', action='store_true',
@ -56,8 +58,6 @@ parser.add_option('-s', '--symmetry', dest='symmetry', action='extend',
metavar='<string LIST>', metavar='<string LIST>',
help = 'crystal symmetry [%s] {%s} '%(damask.Symmetry.lattices[-1], help = 'crystal symmetry [%s] {%s} '%(damask.Symmetry.lattices[-1],
', '.join(damask.Symmetry.lattices[1:]))) ', '.join(damask.Symmetry.lattices[1:])))
parser.add_option('-t', '--tolerance', dest='tolerance', type='float', metavar='float',
help = 'angular tolerance for orientation squashing [%default]')
parser.add_option('--homogenization', dest='homogenization', type='int', metavar='int', parser.add_option('--homogenization', dest='homogenization', type='int', metavar='int',
help='homogenization index to be used [%default]') help='homogenization index to be used [%default]')
parser.add_option('--crystallite', dest='crystallite', type='int', metavar='int', parser.add_option('--crystallite', dest='crystallite', type='int', metavar='int',