Skip to content

Commit

Permalink
convert frequent warnings to preflight updated values
Browse files Browse the repository at this point in the history
  • Loading branch information
nyoungbq authored and imikejackson committed Feb 10, 2025
1 parent f9dc9cc commit d24753e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -515,11 +515,11 @@ IFilter::PreflightResult CropImageGeometryFilter::preflightImpl(const DataStruct
}
if(!warningMsg.empty())
{
resultOutputActions.m_Warnings.push_back(Warning(
{-55503,
preflightUpdatedValues.push_back(
{"Invalidated NeighborLists",
fmt::format(
"This filter will modify the Cell Level Array '{}' which causes all Feature level NeighborLists to become invalid. These NeighborLists will not be copied to the new geometry:{}",
featureIdsArrayPath.toString(), warningMsg)}));
featureIdsArrayPath.toString(), warningMsg)});
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,11 @@ IFilter::PreflightResult ResampleImageGeomFilter::preflightImpl(const DataStruct
}
if(!warningMsg.empty())
{
resultOutputActions.m_Warnings.push_back(Warning(
{-55503,
preflightUpdatedValues.push_back(
{"Invalidated NeighborLists",
fmt::format(
"This filter will modify the Cell Level Array '{}' which causes all Feature level NeighborLists to become invalid. These NeighborLists will not be copied to the new geometry:{}",
featureIdsArrayPath.toString(), warningMsg)}));
featureIdsArrayPath.toString(), warningMsg)});
}
}

Expand Down

0 comments on commit d24753e

Please sign in to comment.