Skip to content

Commit

Permalink
BUG: Fix pipeline that has a missing filter GenerateFaceMisorientatio…
Browse files Browse the repository at this point in the history
…nColoring

Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information
imikejackson committed May 16, 2024
1 parent 412ae98 commit 36dbf0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -478,32 +478,6 @@
}
},
"5": {
"AvgQuatsArrayPath": {
"Attribute Matrix Name": "Grain Data",
"Data Array Name": "AvgQuats",
"Data Container Name": "Small IN100"
},
"CrystalStructuresArrayPath": {
"Attribute Matrix Name": "Phase Data",
"Data Array Name": "CrystalStructures",
"Data Container Name": "Small IN100"
},
"FeaturePhasesArrayPath": {
"Attribute Matrix Name": "Grain Data",
"Data Array Name": "Phases",
"Data Container Name": "Small IN100"
},
"FilterVersion": "1.0.278",
"Filter_Human_Label": "Generate Misorientation Colors (Face)",
"Filter_Name": "GenerateFaceMisorientationColoring",
"SurfaceMeshFaceLabelsArrayPath": {
"Attribute Matrix Name": "FaceData",
"Data Array Name": "FaceLabels",
"Data Container Name": "TriangleDataContainer"
},
"SurfaceMeshFaceMisorientationColorsArrayName": "SurfaceMeshFaceMisorientationColors"
},
"6": {
"FilterVersion": "1.0.278",
"Filter_Human_Label": "Write DREAM.3D Data File",
"Filter_Name": "DataContainerWriter",
Expand All @@ -512,7 +486,7 @@
},
"PipelineBuilder": {
"Name": "(03) SmallIN100 Mesh Statistics",
"Number_Filters": 7,
"Number_Filters": 6,
"Version": "1.0"
}
}
13 changes: 0 additions & 13 deletions Test/Python/EBSD/SurfaceMesh/03_SmallIN100_Mesh_Statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,6 @@ def small_in100_mesh_stats():
'SurfaceMeshFaceIPFColors')
assert err == 0, f'GenerateFaceIPFColoring ErrorCondition {err}'

# Generate Misorientation Colors (Face)
err = orientationanalysis.generate_face_misorientation_coloring(dca,
simpl.DataArrayPath('TriangleDataContainer',
'FaceData', 'FaceLabels'),
simpl.DataArrayPath('Small IN100', 'Grain Data',
'AvgQuats'),
simpl.DataArrayPath('Small IN100', 'Grain Data',
'Phases'),
simpl.DataArrayPath('Small IN100', 'Phase Data',
'CrystalStructures'),
'SurfaceMeshFaceMisorientationColors')
assert err == 0, f'GenerateFaceMisorientationColoring ErrorCondition {err}'

# Write to DREAM3D file
err = sh.WriteDREAM3DFile(sd.GetBuildDirectory() + '/Data/Output/SurfaceMesh/SmallIN100_MeshStats.dream3d',
dca)
Expand Down

0 comments on commit 36dbf0f

Please sign in to comment.