Skip to content

Commit

Permalink
Report Legacy DREAM.3D warnings
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.
  • Loading branch information
mmarineBlueQuartz committed Apr 18, 2024
1 parent 448ffa6 commit aee57b3
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 aee57b3

Please sign in to comment.