consistent dataset naming eases testing
This commit is contained in:
parent
45cebe3aee
commit
3462d41d8e
|
@ -2009,7 +2009,7 @@ class Result:
|
||||||
|
|
||||||
# Data eulers
|
# Data eulers
|
||||||
orientation_data = cell_orientation_array.astype(np.float32)
|
orientation_data = cell_orientation_array.astype(np.float32)
|
||||||
o[cell_data_label + '/Eulers'] = orientation_data.reshape(tuple(np.flip(self.cells))+(3,))
|
o[cell_data_label + '/EulersAngles'] = orientation_data.reshape(tuple(np.flip(self.cells))+(3,))
|
||||||
|
|
||||||
# Attributes to CellData group
|
# Attributes to CellData group
|
||||||
o[cell_data_label].attrs['AttributeMatrixType'] = np.array([3],np.uint32)
|
o[cell_data_label].attrs['AttributeMatrixType'] = np.array([3],np.uint32)
|
||||||
|
|
Loading…
Reference in New Issue