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 19, 2025
1 parent 692100d commit e57f00e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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)}));
"This filter will modify the Cell Level Array(s) '{}' which causes all feature level NeighborLists to become invalid. These NeighborLists will not be copied to the new geometry:{}",
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 e57f00e

Please sign in to comment.