Skip to content

Commit

Permalink
ENH: Cleanup warning messages for ReadTextDatArray and CreateDataArray (
Browse files Browse the repository at this point in the history
#781)

Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson authored Nov 29, 2023
1 parent a06a6d5 commit 749a340
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ IFilter::PreflightResult CreateDataArray::preflightImpl(const DataStructure& dat
if(!useDims)
{
return MakePreflightErrorResult(
-78602, "The DataArray to be created is not within an AttributeMatrix, so the dimensions cannot be determined implicitly. Check Set Tuple Dimensions to set the dimensions");
-78602, fmt::format("The DataArray to be created '{}'is not within an AttributeMatrix, so the dimensions cannot be determined implicitly. Check Set Tuple Dimensions to set the dimensions",
dataArrayPath.toString()));
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ IFilter::PreflightResult ReadTextDataArrayFilter::preflightImpl(const DataStruct
if(!useDims)
{
return MakePreflightErrorResult(
-77602, "The DataArray to be created is not within an AttributeMatrix, so the dimensions cannot be determined implicitly. Check Set Tuple Dimensions to set the dimensions");
-78602, fmt::format("The DataArray to be created '{}'is not within an AttributeMatrix, so the dimensions cannot be determined implicitly. Check Set Tuple Dimensions to set the dimensions",
arrayPath.toString()));
}
else
{
Expand Down

0 comments on commit 749a340

Please sign in to comment.