Skip to content

B0 Field Mapping in HTML Report #1015

Description

@sofiechung

Summary

In the HTML report under B0 field mapping: incorrect image number reported for distortion groups

Additional details

  • QSIPrep version: 1.0.2.dev0+gfc89945.d20250405
  • Singularity version: qsiprep-1.0.1.sif

What were you trying to do?

I was comparing *pepolar_qc.tsv with what's reported in the B0 field mapping of the HTML report.

What did you expect to happen?

Example 1:
If selected_for_sdc==True for original_volume 64 of *dwi.nii.gz, then I expect the HTML report to say "Distortion group 'x' was represented by image 64 from *dwi.nii.gz. "

Example 2:
If selected_for_sdc==True for original_volume 43 of *dwi.nii.gz, then I expect the HTML report to say "Distortion group 'x' was represented by image 43 from *dwi.nii.gz. "

What actually happened?

Example 1:
The HTML report says "Distortion group 'x' was represented by image 4' from *dwi.nii.gz"

Example 2:
The HTML report says "Distortion group 'x' was represented by image 3 from *dwi.nii.gz"

There seems to be no issue when the volume is only a single digit (for either the DWI or EPI images). So it seems the HTML only incorrectly reports the image if original_volume is greater than 2 digits? I just want to make sure that this is an issue with the HTML only and not that the wrong volume was used for distortion correction.

-->

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions