fixed syntax error in last commit
This commit is contained in:
parent
9b7007b937
commit
d2cbca35b2
|
@ -204,7 +204,7 @@ for file in files:
|
||||||
file['output'].write('\n<texture>\n')
|
file['output'].write('\n<texture>\n')
|
||||||
for i in grainIDs:
|
for i in grainIDs:
|
||||||
eulerID = numpy.nonzero(grain == i)[0][0] # find first occurrence of this grain id
|
eulerID = numpy.nonzero(grain == i)[0][0] # find first occurrence of this grain id
|
||||||
file['output'].write('\n[Grain%s]\n'%(str(i).zfill(formatwidth))) + \
|
file['output'].write('\n[Grain%s]\n'%(str(i).zfill(formatwidth)) + \
|
||||||
'(gauss)\tphi1 %g\tPhi %g\tphi2 %g\tscatter 0.0\tfraction 1.0\n'%(eulers[0,eulerID],
|
'(gauss)\tphi1 %g\tPhi %g\tphi2 %g\tscatter 0.0\tfraction 1.0\n'%(eulers[0,eulerID],
|
||||||
eulers[1,eulerID],
|
eulers[1,eulerID],
|
||||||
eulers[2,eulerID]))
|
eulers[2,eulerID]))
|
||||||
|
|
Loading…
Reference in New Issue