Skip to content

Commit

Permalink
Report Legacy DREAM.3D warnings (#919)
Browse files Browse the repository at this point in the history
* Add warnings and error reporting through Result<> to the legacy DREAM.3D import process.
* Add warning reporting to ImportH5ObjectPathsAction.
* Reports when legacy stats data cannot be imported.
  • Loading branch information
mmarineBlueQuartz authored Apr 19, 2024
1 parent 3f44f31 commit 956f295
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 84 deletions.
2 changes: 1 addition & 1 deletion src/simplnx/Filter/Actions/ImportH5ObjectPathsAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Result<> ImportH5ObjectPathsAction::apply(DataStructure& dataStructure, Mode mod
return MakeErrorResult(-6201, errorMessages.str());
}

return {};
return ConvertResult(std::move(dataStructureResult));
}

IDataAction::UniquePointer ImportH5ObjectPathsAction::clone() const
Expand Down
Loading

0 comments on commit 956f295

Please sign in to comment.