From 36dbf0f470c2a2a8d2fc881117bf3a4b3bb91830 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Thu, 16 May 2024 10:10:50 -0400 Subject: [PATCH] BUG: Fix pipeline that has a missing filter GenerateFaceMisorientationColoring Signed-off-by: Michael Jackson --- .../(03) SmallIN100 Mesh Statistics.json | 28 +------------------ .../03_SmallIN100_Mesh_Statistics.py | 13 --------- 2 files changed, 1 insertion(+), 40 deletions(-) diff --git a/Support/PrebuiltPipelines/Workshop/EBSD SurfaceMeshing/(03) SmallIN100 Mesh Statistics.json b/Support/PrebuiltPipelines/Workshop/EBSD SurfaceMeshing/(03) SmallIN100 Mesh Statistics.json index 0f7dfb74ce..c090e1b105 100644 --- a/Support/PrebuiltPipelines/Workshop/EBSD SurfaceMeshing/(03) SmallIN100 Mesh Statistics.json +++ b/Support/PrebuiltPipelines/Workshop/EBSD SurfaceMeshing/(03) SmallIN100 Mesh Statistics.json @@ -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", @@ -512,7 +486,7 @@ }, "PipelineBuilder": { "Name": "(03) SmallIN100 Mesh Statistics", - "Number_Filters": 7, + "Number_Filters": 6, "Version": "1.0" } } diff --git a/Test/Python/EBSD/SurfaceMesh/03_SmallIN100_Mesh_Statistics.py b/Test/Python/EBSD/SurfaceMesh/03_SmallIN100_Mesh_Statistics.py index 0e4bd14ad5..27949bba97 100644 --- a/Test/Python/EBSD/SurfaceMesh/03_SmallIN100_Mesh_Statistics.py +++ b/Test/Python/EBSD/SurfaceMesh/03_SmallIN100_Mesh_Statistics.py @@ -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)