Use argument-list subprocess calls for NiftyReg commands#267
Use argument-list subprocess calls for NiftyReg commands#267IgorTatarnikov merged 6 commits intobrainglobe:mainfrom
Conversation
|
I think the CI failure may be due to NiftyReg argument ordering. Moving to list-based execution seems to expose that -ref / -flo need to appear before other flags for reg_aladin and reg_f3d. |
I had a closer look at reg_aladin.cpp, and it looks like -ref and -flo are expected early in the argument list. |
|
I have a feeling this error will be resolved when we use the new version of |
|
Got it, thanks for clarifying! I’ll hold off on changing the argument order and let this resolve once |
IgorTatarnikov
left a comment
There was a problem hiding this comment.
Would it be possible to add a test in tests/tests/test_integration/test_registration.py that uses an output path with a space in it. There would be no need to compare the output to the regression data, just ensuring that the files are created.
Yes, that makes sense. I will update |
I have pushed the update and also added a missing SegmentationError raise. |
|
I think codecov seems to be failing because the new raise |
|
That would be great! |
Added the missing |
IgorTatarnikov
left a comment
There was a problem hiding this comment.
Thank you, this is almost ready to go! Could you pin brainglobe-utils >= 0.10.0 in pyproject.toml.
IgorTatarnikov
left a comment
There was a problem hiding this comment.
LGTM 🚀
Thank you @AlgoFoe

Description
What is this PR
Why is this PR needed?
What does this PR do?
References
How has this PR been tested?
Is this a breaking change?
Does this PR require an update to the documentation?
Checklist: