Merge branch 'crystal-polishing' into 'development'
nicer formatting See merge request damask/DAMASK!442
This commit is contained in:
commit
ee537ff5e1
|
@ -115,7 +115,7 @@ class Crystal():
|
||||||
return '\n'.join([f'Crystal family {self.family}']
|
return '\n'.join([f'Crystal family {self.family}']
|
||||||
+ ([] if self.lattice is None else [f'Bravais lattice {self.lattice}']+
|
+ ([] if self.lattice is None else [f'Bravais lattice {self.lattice}']+
|
||||||
list(map(lambda x:f'{x[0]}: {x[1]:.5g}',
|
list(map(lambda x:f'{x[0]}: {x[1]:.5g}',
|
||||||
zip(['a','b','c','alpha','beta','gamma',],
|
zip(['a','b','c','α','β','γ',],
|
||||||
self.parameters))))
|
self.parameters))))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue