Skip to content

Commit 0dbdc15

Browse files
nyoungbqimikejackson
authored andcommitted
BUG: Fix ignored data paths functionality
1 parent a94fdb4 commit 0dbdc15

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Plugins/SimplnxCore/src/SimplnxCore/Filters/Algorithms/RequireMinNumNeighbors.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
#include "simplnx/Utilities/DataGroupUtilities.hpp"
77
#include "simplnx/Utilities/FilterUtilities.hpp"
88

9-
#include <random>
10-
119
using namespace nx::core;
1210

1311
// -----------------------------------------------------------------------------
@@ -122,7 +120,7 @@ Result<> RequireMinNumNeighbors::operator()()
122120

123121
// The Cell Attribute Matrix is the parent of the "Feature Ids" array. Always.
124122
DataPath cellDataAttrMatrixPath = m_InputValues->FeatureIdsPath.getParent();
125-
std::optional<std::vector<DataPath>> result = nx::core::GetAllChildDataPaths(m_DataStructure, cellDataAttrMatrixPath, DataObject::Type::DataArray);
123+
std::optional<std::vector<DataPath>> result = nx::core::GetAllChildDataPaths(m_DataStructure, cellDataAttrMatrixPath, DataObject::Type::DataArray, m_InputValues->IgnoredVoxelArrayPaths);
126124
if(!result.has_value())
127125
{
128126
return MakeErrorResult(-5556, fmt::format("Error fetching all Data Arrays from Attribute Matrix '{}'", cellDataAttrMatrixPath.toString()));

0 commit comments

Comments
 (0)