Fixed sirf.Reg.ImageData.asarray().#1376
Conversation
KrisThielemans
left a comment
There was a problem hiding this comment.
Need to say something about the Reg fix in CHANGES.md.
As the new functionality actually tested? As I don't think it's correct.
Also, in #1373 I suggested to duplicate tests with as_array() and asarray(), but maybe that isn't necessary.
Final comment, this is currently on top of #1373. Are we abandoning that one? The history here is rather awful, but a squash merge if the Reg fix and the algebra fix seems rather weird. Would then need some rebasing. Alternatively, we squash merge #1373 first, and then merge master here etc. No easy solutions... @casperdcl, we'll need your help I think.
|
@KrisThielemans To clean up the history, I suggest we merge #1373 before #1376. |
|
ok, this is now a very small PR. Great! Once ready, please use squash-merge. Question: is the output of the old SIRF/src/Registration/pReg/Reg.py Line 372 in 24483dc We cannot change that, as otherwise, we'll get into trouble with the registration tools and geometry. This does explain some choices that Richard made in the geometric info code (which don't work for STIR, but that's another PR) |
|
yes, @KrisThielemans please approve, I cannot merge until you approve |
[ci skip]
KrisThielemans
left a comment
There was a problem hiding this comment.
All fine, except that CHANGES.md was based on an old version, so you lost some lines.
Changes in this pull request
Testing performed
Tested by
sirf.Utilities.data_container_algebra_tests.Related issues
Fixes #1375
Checklist before requesting a review
Contribution Notes
Please read and adhere to the contribution guidelines.
Please tick the following: