Skip to content

ENH: Name the series in the non-uniform sampling warning of ImageSeriesReader - #7024

Merged
hjmjohnson merged 1 commit into
InsightSoftwareConsortium:mainfrom
lassoan:series-reader-nonuniform-warning-filename-upstream
Oct 29, 2026
Merged

hjmjohnson merged 1 commit into
InsightSoftwareConsortium:mainfrom
lassoan:series-reader-nonuniform-warning-filename-upstream

Conversation

@lassoan

@lassoan lassoan commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

The warning did not say which series it referred to, which made it hard to interpret when many series are read (for example, the frames of a 4D DICOM acquisition). The number of files and the first file name of the series are now included.

PR Checklist

  • No API changes were made (or the changes have been approved)
  • No major design changes were made (or the changes have been approved)
  • Added test (or behavior not changed)
  • Updated API documentation (or API not changed)
  • Added license to new files (if any)
  • Added Python wrapping to new files (if any) as described in ITK Software Guide Section 9.5
  • Added ITK examples for all new major features (if any)

Refer to the ITK Software Guide for
further development details if necessary.

@github-actions github-actions Bot added type:Enhancement Improvement of existing methods or implementation area:IO Issues affecting the IO module labels Oct 28, 2026
@greptile-apps

greptile-apps Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Summary

ImageSeriesReader now includes the series file count and first filename in its uneven-spacing warning.

  • Spacing warnings identify the image series by its size and first file.

Reviews (1) · Last reviewed commit: "ENH: Name the series in the non-uniform ..." · Reviewed by Greptile

@dzenanz

dzenanz commented Oct 28, 2026

Copy link
Copy Markdown
Member

ARMBUILD-Ubuntu-24.04-arm build failure is pre-existing.

…esReader

The warning did not say which series it referred to, which made it hard to interpret when
many series are read (for example, the frames of a 4D DICOM acquisition). The number of files
and the first file name of the series are now included.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@hjmjohnson
hjmjohnson force-pushed the series-reader-nonuniform-warning-filename-upstream branch from 752097d to c9f57ae Compare October 29, 2026 00:47
@hjmjohnson

Copy link
Copy Markdown
Member

Rebased on main (plain rebase, patch unchanged) to pick up #7028, which fixes the itkIndent.h include-cycle error behind the ARMBUILD failure. Pull with git pull --rebase before pushing again.

@hjmjohnson
hjmjohnson merged commit 3ed9d96 into InsightSoftwareConsortium:main Oct 29, 2026
19 checks passed
@lassoan
lassoan deleted the series-reader-nonuniform-warning-filename-upstream branch October 30, 2026 05:00
@lassoan

lassoan commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

Thank you for reviewing and merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:IO Issues affecting the IO module type:Enhancement Improvement of existing methods or implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants