Repository navigation
BUG: Build and pass tests against simplnx develop - #3
Merged
Merged
Conversation
simplnx #1997 made ImageGeom::setSpacing and setOrigin return [[nodiscard]] Result<>. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0142wsFLC76q7MKNw8Tk28RQ
…line - Rename output_presentation_geometry to output_presentation_geometry_path, as DataGroupCreationParameter keys must end in _path, and bump the parameters version to 6. - Add the parameters that simplnx and ComputeODFFilter gained since avtr12-ODF-Pole-Figure.d3dpipeline was saved, with their default values, and update each node's parameters_version. - generate_nx_pipelines.py: write WriteDREAM3DFilter parameters version 2 and accept an output directory outside the repository. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0142wsFLC76q7MKNw8Tk28RQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Gets MTRSim building and passing its tests, and the simplnx tests that load the MTRSim plugin, against simplnx
develop.1. Check the ImageGeom setter results in the tests
simplnx #1997 made
ImageGeom::setSpacingandImageGeom::setOriginreturn a[[nodiscard]] Result<>, and the build treats an ignored result as an error. The six calls intest/MTRSimTest.cppandtest/ComputeODFTest.cppare now wrapped inREQUIRE(...valid()).2. ComputeODFFilter key suffix
The simplnx test FilterValidation::Filter Parameter Keys requires
DataGroupCreationParameterkeys to end in_path.output_presentation_geometrybecomesoutput_presentation_geometry_path, and the parameters version goes from 5 to 6.3. Example pipeline
The simplnx test Prebuilt Pipelines: Parameter Keys Are Current failed on
pipelines/avtr12-ODF-Pole-Figure.d3dpipeline: 33 parameters were missing fromReadCtfDataFilter,RotateSampleRefFrameFilter,WritePoleFigureFilter,ComputeODFFilter,CropImageGeometryFilterandWriteImageFilter. They are added with their default values (material_names_pathpoints at the pipeline'sMaterialNamearray), and each node'sparameters_versionis updated. Existing values are unchanged.4.
scripts/generate_nx_pipelines.pyWrites
WriteDREAM3DFilterparameters version 2 (the current one), and no longer fails when--out-diris outside the repository. The committedMTRSim_*.d3dpipelinefiles have more steps than the generator writes; they were not regenerated.PR #2 touches the same test lines as part 1 and will need a small rebase.
Test plan
develop(e378a21e0) with MTRSim as an extra plugin builds with 0 errorsctest -R "MTRSim|Prebuilt Pipelines|FilterValidation": 69/69 pass (serial)nxrunner -pon the avtr12 pipeline loads it with no key errors, then stops at its first filter because the example's input.ctffile is not on the test machine🤖 Generated with Claude Code
https://claude.ai/code/session_0142wsFLC76q7MKNw8Tk28RQ