Skip to content

Conversation

@bendichter
Copy link
Contributor

Add check_image_series_starting_frame_without_external_file to detect when starting_frame is set on an ImageSeries without external_file. The starting_frame attribute is only relevant when using external files, and setting it otherwise indicates a legacy issue from older PyNWB versions.

Includes documentation, unit tests, and changelog entry.

Closes #235

bendichter and others added 2 commits December 24, 2025 11:20
Add check_image_series_starting_frame_without_external_file to detect
when starting_frame is set on an ImageSeries without external_file.
The starting_frame attribute is only relevant when using external files,
and setting it otherwise indicates a legacy issue from older PyNWB versions.

Includes documentation, unit tests, and changelog entry.

Closes #235
@bendichter bendichter marked this pull request as ready for review December 24, 2025 16:23
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.03%. Comparing base (59ef74b) to head (392d6b1).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #653      +/-   ##
==========================================
+ Coverage   77.41%   81.03%   +3.62%     
==========================================
  Files          47       47              
  Lines        1656     1661       +5     
==========================================
+ Hits         1282     1346      +64     
+ Misses        374      315      -59     
Files with missing lines Coverage Δ
src/nwbinspector/checks/__init__.py 100.00% <ø> (ø)
src/nwbinspector/checks/_image_series.py 95.12% <100.00%> (+0.67%) ⬆️

... and 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Add Check]: imageseries arg check

3 participants