Skip to content

codespell: ignore 'aci' (variable name in IBL-Widefield notebook)#165

Merged
bendichter merged 1 commit into
masterfrom
fix-codespell-aci
May 14, 2026
Merged

codespell: ignore 'aci' (variable name in IBL-Widefield notebook)#165
bendichter merged 1 commit into
masterfrom
fix-codespell-aci

Conversation

@bendichter
Copy link
Copy Markdown
Member

Fixes the Codespell run on PR #142.

What was failing

Codespell flagged ~50 occurrences of aci in 001712/IBL-Widefield/public_demo/anatomical_localization_widefield.ipynb as typos for acpi. The string is actually a local variable shorthand for the NWB field anatomical_coordinates_image:

aci = localization.anatomical_coordinates_images["AnatomicalCoordinatesImageCCFv3"]
space        = aci.space
x_coords     = aci.x[:]
y_coords     = aci.y[:]
region_names = np.asarray(aci.brain_region[:])

Fix

Added aci to .codespellrc's ignore-words-list with an inline comment naming the variable + the notebook it lives in. Same pattern as PR #154's makin fix.

🤖 Generated with Claude Code

The 001712/IBL-Widefield notebook (PR #142) uses `aci` as a local
variable shorthand for the NWB field `anatomical_coordinates_image`:

  aci = localization.anatomical_coordinates_images['AnatomicalCoordinatesImageCCFv3']
  space = aci.space
  x_coords = aci.x[:]
  ...

Codespell flagged every `aci` token as a typo for `acpi` —
~50 errors across one PR, blocking CI.

Adding `aci` to ignore-words-list (same pattern as the `makin`
fix in #154 for the CEBRA author surname).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

Preview for this PR has been removed (PR closed).

github-actions Bot added a commit that referenced this pull request May 14, 2026
@bendichter bendichter merged commit 3b46274 into master May 14, 2026
3 checks passed
github-actions Bot added a commit that referenced this pull request May 14, 2026
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