Skip to content

Standardize core schema documentation style#704

Draft
ehennestad wants to merge 12 commits into
fix/doc-copy-paste-errorsfrom
codex/fix-core-schema-doc-style
Draft

Standardize core schema documentation style#704
ehennestad wants to merge 12 commits into
fix/doc-copy-paste-errorsfrom
codex/fix-core-schema-doc-style

Conversation

@ehennestad

@ehennestad ehennestad commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

NB: This PR is stacked on #695 and should be reviewed after that PR.

Summary of changes

  • Standardize dimensionality notation as 1-D, 2-D, and 3-D.
  • Standardize e.g., and i.e., punctuation throughout the core schema documentation.
  • Correct the Subject.sex description to refer to biological sex rather than gender.
  • Correct grammar, identifier terminology, and unit wording without changing schema contracts.

Checklist

For all schema changes:

  • Add release notes for the PR to docs/format/source/format_release_notes.rst. Not applicable: this PR changes documentation strings only and is stacked on Fix copy-paste doc errors in icephys, image, misc, and ophys schemas #695, which contains the release update.
  • Have you included the relevant issue number using "Fix #XXX" notation where XXX is the issue number? Not applicable: no issue is being closed by these style corrections.
  • Make sure that hdmf-common-schema points to the latest release and not the latest commit on the main branch.

@ehennestad ehennestad force-pushed the codex/fix-core-schema-doc-style branch from d24593f to 9bf38f5 Compare June 28, 2026 12:44
@ehennestad ehennestad force-pushed the codex/fix-core-schema-doc-style branch from 9bf38f5 to 1ba8620 Compare June 28, 2026 12:49
ehennestad and others added 9 commits June 28, 2026 15:02
- nwb.file.yaml: stimuluation -> stimulation; as as -> as; the a sequence
  -> a sequence; experimental experimental_conditions -> experimental
  conditions; experiment`s -> experiment's (backtick used as apostrophe)
- nwb.ecephys.yaml: zero- filled -> zero-filled (erroneous space in hyphenated compound)
- nwb.retinotopy.yaml: stray leading quote before ['radius', 'theta'] example

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
All other DEPRECATED tags in the schema use 'DEPRECATED.' with a period
before the sentence that follows. Fix the three inconsistent instances in
nwb.ecephys.yaml (ClusterWaveforms, Clustering) and nwb.ophys.yaml
(ImagingPlane.manifold).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- nwb.ecephys.yaml: two instances of 'i.e,' corrected to 'i.e.,';
  missing terminal periods on ClusterWaveforms.waveform_mean,
  waveform_sd, and clustering_interface link doc
- nwb.icephys.yaml: missing terminal periods on
  IZeroClampSeries.stimulus_description and
  IntracellularResponsesTable.response
- nwb.retinotopy.yaml: missing terminal period on
  vasculature_image.bits_per_pixel

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- nwb.ophys.yaml: 'w/' -> 'with'; 'x & y' -> 'x and y'
- nwb.retinotopy.yaml: 'Right now only' -> 'Currently only' (x2)
- nwb.image.yaml: contraction 'it's' -> 'it is'
- nwb.ecephys.yaml: contraction 'it's' -> 'it is'

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- nwb.file.yaml: 'than' -> 'that' (Place-holder); 'these be used' ->
  'these can be used'; 'after experiment complete' -> 'after the
  experiment is complete'; 'to common timebase' -> 'to a common
  timebase'; fix comma placement after 'both'; 'etc,' -> 'etc.'
- nwb.icephys.yaml: 'allows to group' -> 'allows users to group';
  remove double space after 'e.g.,'
- nwb.behavior.yaml: 'take the output one specific' -> 'output of one
  specific'; 'is published' -> 'are published' (plural subject);
  'si_unit' -> 'unit' (field does not exist); 'axis' -> 'axes';
  remove double space after sentence-ending period

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- nwb.ophys.yaml: 'larger numbers in x/y/z means' -> 'mean' (plural
  subject; three instances in ImagingPlane.reference_frame)
- nwb.misc.yaml: 'for visual grating stimulus' -> 'for a visual grating
  stimulus' (missing article)
- nwb.retinotopy.yaml: 'taken with same settings' -> 'taken with the
  same settings' (missing article)
- nwb.image.yaml: 'must contain a order_of_images' -> 'an' (article
  before vowel-initial quoted word)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replacing the backtick with an apostrophe in the previous commit left an
unescaped single quote inside a single-quoted YAML scalar. Remove the
outer single quotes — the string contains no characters that require
quoting.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ehennestad ehennestad force-pushed the codex/fix-core-schema-doc-style branch from f27eb3d to 79a8442 Compare June 28, 2026 14:38
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@oruebel

oruebel commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Overall the current changes look good to me. Could you add an entry to the changelog.

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.

2 participants