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

dwifslpreproc: Fix for PE direction, but not readout time, in header #2722

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lestropie
Copy link
Member

Error encountered by user attempting to process their own data during workshop.

Description in faf0788.

@Lestropie Lestropie requested a review from a team September 25, 2023 23:32
@Lestropie Lestropie self-assigned this Sep 25, 2023
If the phase encoding information present in the header is only the phase encoding direction, but not readout time is present, then the constructed phase encoding matrix will possess only three columns, not four. If this happens, but an attempt is then made to cross-reference the readout time in the phase encoding table generated from header content against what the user has specified at the command-line, then an unhandled exception will occur. This change prevents specifically the comparison of readout times from being made if no such information is present.
Replacement for erroneous commit faf0788.
Also includes additional test that results in an unhandled exception on 3.0.4 but executes successfully with this change.
@Lestropie Lestropie force-pushed the dwifslpreproc_no_readouttime_in_header branch from faf0788 to 3732dbc Compare January 29, 2024 04:33
@Lestropie
Copy link
Member Author

Fixed & added test as proof. Seeking approval review.

@Lestropie Lestropie added this to the 3.0.5 updates milestone Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant