Skip to content

Fix dangling clause and other small issues - #1519

Merged
VisLab merged 3 commits into
hed-standard:mainfrom
VisLab:address_issues
Nov 22, 2026
Merged

VisLab merged 3 commits into
hed-standard:mainfrom
VisLab:address_issues

Conversation

@VisLab

@VisLab VisLab commented Nov 22, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain, and the documentation-only changes clarify specification references without altering runtime behavior.

No open issues 🎉

What changed in this PR

This documentation-only PR clarifies specification references and removes ambiguity from comments and test docstrings describing HED value classes, character sets, placeholder validation, and library provenance. It does not change runtime behavior.

Changes:

  • Clarifies value-text and value-class behavior, including standard and schema-defined class handling.
  • Adds specification references for character declarations, declaration precedence, and unpartnered library handling.
  • Improves documentation of placeholder validation and schema-loading behavior.
File Description
tests/​validator/​test_value_text.py Clarifies test documentation for standard value-class declaration precedence and the schema-defined class exception.
tests/​validator/​test_char_validator.py Documents declaration precedence while distinguishing standard value classes from schema-defined classes.
tests/​schema/​test_hed_schema_io.py Adds specification context for handling unpartnered libraries during schema loading.
hed/​validator/​util/​class_util.py Clarifies the character-set rule for placeholders without a value class.
hed/​validator/​util/​char_util.py Documents direct value-text validation and version-dependent character-set behavior.
hed/​validator/​hed_validator.py Clarifies direct value-text validation for unclassed placeholders.
hed/​schema/​schema_io/​base2schema.py Explains when the inLibrary attribute is applied during schema loading.

Review effort: Lite

@VisLab
VisLab merged commit 92da4ca into hed-standard:main Nov 22, 2026
19 checks passed
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