From e211e989c4fe2d87a4682727ac44d50e9a141c26 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Thu, 16 May 2024 13:51:53 -0400 Subject: [PATCH] BUG: Remove filter that does not exist any more. Signed-off-by: Michael Jackson --- .../Average_EdgeFaceCell_Array_To_Vertex_Array.py | 13 ------------- .../Average_Vertex_Array_To_EdgeFaceCell_Array.py | 13 ------------- Test/Python/Normalize_Attribute_Arrays.py | 13 ------------- Test/Python/Point_Sample_Triangle_Geometry.py | 13 ------------- Test/Python/Principal_Component_Analysis.py | 13 ------------- Test/Python/Robust_Automatic_Threshold.py | 13 ------------- 6 files changed, 78 deletions(-) diff --git a/Test/Python/Average_EdgeFaceCell_Array_To_Vertex_Array.py b/Test/Python/Average_EdgeFaceCell_Array_To_Vertex_Array.py index 9d74d1ec..43ad9d76 100644 --- a/Test/Python/Average_EdgeFaceCell_Array_To_Vertex_Array.py +++ b/Test/Python/Average_EdgeFaceCell_Array_To_Vertex_Array.py @@ -159,19 +159,6 @@ def start_test(): 'SurfaceMeshFaceIPFColors') assert err == 0, f'GenerateFaceIPFColoring ErrorCondition {err}' - # Generate Misorientation Colors (Face) - err = orientationanalysispy.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}' - # Average Edge/Face/Cell Array to Vertex Array err = dream3dreviewpy.average_edge_face_cell_array_to_vertex_array(dca, simpl.DataArrayPath('TriangleDataContainer', diff --git a/Test/Python/Average_Vertex_Array_To_EdgeFaceCell_Array.py b/Test/Python/Average_Vertex_Array_To_EdgeFaceCell_Array.py index 3fbcb723..481157e0 100644 --- a/Test/Python/Average_Vertex_Array_To_EdgeFaceCell_Array.py +++ b/Test/Python/Average_Vertex_Array_To_EdgeFaceCell_Array.py @@ -159,19 +159,6 @@ def start_test(): 'SurfaceMeshFaceIPFColors') assert err == 0, f'GenerateFaceIPFColoring ErrorCondition {err}' - # Generate Misorientation Colors (Face) - err = orientationanalysispy.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}' - # Average Vertex Array to Edge/Face/Cell Array err = dream3dreviewpy.average_vertex_array_to_edge_face_cell_array(dca, simpl.DataArrayPath('TriangleDataContainer', diff --git a/Test/Python/Normalize_Attribute_Arrays.py b/Test/Python/Normalize_Attribute_Arrays.py index b689f63b..ec271651 100644 --- a/Test/Python/Normalize_Attribute_Arrays.py +++ b/Test/Python/Normalize_Attribute_Arrays.py @@ -159,19 +159,6 @@ def start_test(): 'SurfaceMeshFaceIPFColors') assert err == 0, f'GenerateFaceIPFColoring ErrorCondition {err}' - # Generate Misorientation Colors (Face) - err = orientationanalysispy.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}' - # Normalize Attribute Arrays selected_data_arrays = [simpl.DataArrayPath('TriangleDataContainer', 'FaceData', 'FaceDihedralAngles'), simpl.DataArrayPath('TriangleDataContainer', 'FaceData', 'FaceAreas')] diff --git a/Test/Python/Point_Sample_Triangle_Geometry.py b/Test/Python/Point_Sample_Triangle_Geometry.py index c9f3d289..d1aef0fc 100644 --- a/Test/Python/Point_Sample_Triangle_Geometry.py +++ b/Test/Python/Point_Sample_Triangle_Geometry.py @@ -159,19 +159,6 @@ def start_test(): 'SurfaceMeshFaceIPFColors') assert err == 0, f'GenerateFaceIPFColoring ErrorCondition {err}' - # Generate Misorientation Colors (Face) - err = orientationanalysispy.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}' - # Point Sample Triangle Geometry err = dream3dreviewpy.point_sample_triangle_geometry(dca, 0, 'TriangleDataContainer', 'VertexDataContainer', 'VertexData', diff --git a/Test/Python/Principal_Component_Analysis.py b/Test/Python/Principal_Component_Analysis.py index 0d735b8f..2710a5d6 100644 --- a/Test/Python/Principal_Component_Analysis.py +++ b/Test/Python/Principal_Component_Analysis.py @@ -159,19 +159,6 @@ def start_test(): 'SurfaceMeshFaceIPFColors') assert err == 0, f'GenerateFaceIPFColoring ErrorCondition {err}' - # Generate Misorientation Colors (Face) - err = orientationanalysispy.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}' - # Principal Component Analysis selected_data_array_paths = [simpl.DataArrayPath('TriangleDataContainer', 'FaceData', 'FaceAreas'), diff --git a/Test/Python/Robust_Automatic_Threshold.py b/Test/Python/Robust_Automatic_Threshold.py index 028533a4..1fba0be0 100644 --- a/Test/Python/Robust_Automatic_Threshold.py +++ b/Test/Python/Robust_Automatic_Threshold.py @@ -159,19 +159,6 @@ def start_test(): 'SurfaceMeshFaceIPFColors') assert err == 0, f'GenerateFaceIPFColoring ErrorCondition {err}' - # Generate Misorientation Colors (Face) - err = orientationanalysispy.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}' - # Robust Automatic Threshold err = dream3dreviewpy.robust_automatic_threshold(dca, simpl.DataArrayPath('Small IN100', 'EBSD Scan Data',