fixed bug where configuration wrote floating point numbers for grain IDs and texture IDs.
This commit is contained in:
parent
ca2a8d0a03
commit
9280b0a4e2
|
@ -126,7 +126,7 @@ for file in files:
|
||||||
eulers = theTable.data_asArray(['phi1','Phi','phi2'])
|
eulers = theTable.data_asArray(['phi1','Phi','phi2'])
|
||||||
if theTable.labels_index('microstructure') != -1:
|
if theTable.labels_index('microstructure') != -1:
|
||||||
grain = theTable.data_asArray(['microstructure'])
|
grain = theTable.data_asArray(['microstructure'])
|
||||||
grainIDs = numpy.unique(grain)
|
grainIDs = numpy.unique(grain).astype('i')
|
||||||
else:
|
else:
|
||||||
grain = 1+numpy.arange(len(eulers))
|
grain = 1+numpy.arange(len(eulers))
|
||||||
grainIDs = grain
|
grainIDs = grain
|
||||||
|
|
Loading…
Reference in New Issue