Skip to content

fix(io): correct the misspelled compound resize warning identifier - #882

Open
ehennestad wants to merge 1 commit into
mainfrom
fix-write-compound-warning-id
Open

fix(io): correct the misspelled compound resize warning identifier#882
ehennestad wants to merge 1 commit into
mainfrom
fix-write-compound-warning-id

Conversation

@ehennestad

@ehennestad ehennestad commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Motivation

Claude insisted on fixing a typo in a warning ID : Compund -> Compound

What changed

  • The warning identifier is now NWB:WriteCompound:ContinuousCompoundResize.

This is a behaviour change for code that selects the warning by its old, misspelled identifier. The warning text, and when it is raised, are unchanged. The identifier is the only thing that moves, and MatNWB does not treat warning identifiers as a stable interface elsewhere.

How to test

runtests('tests.unit.io.WriteTest')

Checklist

  • Have you ensured the PR description clearly describes the problem and solutions?
  • Have you checked to ensure that there aren't other open or previously closed Pull Requests for the same change?
  • If this PR fixes an issue, is the first line of the PR description fix #XX where XX is the issue number?

🤖 Generated with Claude Code

@ehennestad
ehennestad marked this pull request as ready for review August 27, 2026 09:57
@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.27%. Comparing base (2880afc) to head (b76f09c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #882   +/-   ##
=======================================
  Coverage   95.27%   95.27%           
=======================================
  Files         234      234           
  Lines        8311     8311           
=======================================
  Hits         7918     7918           
  Misses        393      393           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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

@ehennestad
ehennestad force-pushed the fix-write-compound-warning-id branch from 58e3345 to 18486dd Compare August 27, 2026 14:53
@ehennestad
ehennestad enabled auto-merge August 27, 2026 16:06
The warning raised when a continuous compound dataset cannot be resized
used the identifier NWB:WriteCompund:ContinuousCompoundResize, spelling
the function name without its second o. Every other identifier in the
write path spells it correctly, and code selecting this warning by id has
to reproduce the typo to match it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ehennestad
ehennestad force-pushed the fix-write-compound-warning-id branch from 18486dd to b76f09c Compare August 31, 2026 10:43
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.

1 participant