Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dwi2tensor: fix operation with -iter 1 #3056

Merged
merged 2 commits into from
Feb 7, 2025
Merged

Conversation

Lestropie
Copy link
Member

Problem has been present since initial addition of iterative reweighted least squares for tensor fitting in #1542.

Does not affect default operation; only affects the specific use case of -iter 1.

@Lestropie Lestropie added the bug label Dec 30, 2024
@Lestropie Lestropie added this to the 3.0.5 updates milestone Dec 30, 2024
@Lestropie Lestropie requested a review from a team December 30, 2024 11:03
@Lestropie Lestropie self-assigned this Dec 30, 2024
bjeurissen
bjeurissen previously approved these changes Dec 30, 2024
- Previously, if -iter 1 was specified, the weights were not recomputed, and so results were identical to that with -iter 0.
- Do not unnecessarily recompute weights at completion of the final iteration.
@Lestropie Lestropie force-pushed the dwi2tensor_iter1_fix branch from 7605557 to be4bdaa Compare February 7, 2025 01:46
@Lestropie
Copy link
Member Author

Used GitHub to rebase to updated master: there should be fixes to CI, but I was not able to re-run failed CI jobs manually.

@Lestropie Lestropie enabled auto-merge February 7, 2025 01:48
@Lestropie Lestropie disabled auto-merge February 7, 2025 02:12
@Lestropie
Copy link
Member Author

Test data contained sample dwi2tensor outputs with different numbers of iterations, but images with 0 and 1 iterations were identical. So friendly reminder that regression testing doesn't ensure that the generated outputs are correct 🫠

@Lestropie Lestropie enabled auto-merge February 7, 2025 02:52
@Lestropie Lestropie added this pull request to the merge queue Feb 7, 2025
Merged via the queue into master with commit 818a542 Feb 7, 2025
5 checks passed
@Lestropie Lestropie deleted the dwi2tensor_iter1_fix branch February 7, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants