We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa4427 commit a934582Copy full SHA for a934582
heudiconv/convert.py
@@ -527,13 +527,12 @@ def update_multiorient_name(
527
metadata: dict[str, Any],
528
filename: str,
529
) -> str:
530
- if "acq-" in filename:
+ if "_acq-" in filename:
531
lgr.warning(
532
- "Not embedding multi-orientation information as prefix already uses acq- parameter."
+ "Not embedding multi-orientation information as `%r` already uses acq- parameter.", filename
533
)
534
return filename
535
iop = metadata.get("ImageOrientationPatientDICOM")
536
- # iop = [round(x) for x in iop]
537
assert isinstance(iop, list)
538
cross_prod = [
539
iop[1] * iop[5] - iop[2] * iop[4],
0 commit comments