fixed syntax error in last commit

This commit is contained in:
Martin Diehl 2013-11-13 12:51:48 +00:00
parent 9b7007b937
commit d2cbca35b2
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ for file in files:
file['output'].write('\n<texture>\n')
for i in grainIDs:
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],
eulers[1,eulerID],
eulers[2,eulerID]))