Skip to content

Added a prerelease version to load_schema_version#1208

Merged
VisLab merged 2 commits intohed-standard:mainfrom
VisLab:remove_vis
Feb 6, 2026
Merged

Added a prerelease version to load_schema_version#1208
VisLab merged 2 commits intohed-standard:mainfrom
VisLab:remove_vis

Conversation

@VisLab
Copy link
Member

@VisLab VisLab commented Feb 6, 2026

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces support for loading HED schemas from a prerelease directory by adding a check_prerelease parameter to load_schema_version, updating cache path resolution accordingly, and adding basic tests/documentation updates around the new parameter.

Changes:

  • Add check_prerelease parameter plumbing to load_schema_version and internal schema-loading helpers.
  • Update hed_cache.get_hed_version_path to prefer regular schema files and fall back to prerelease paths when enabled.
  • Add unit tests for check_prerelease parameter acceptance/backward compatibility; refresh docs landing page text.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
hed/schema/hed_schema_io.py Adds check_prerelease parameter and threads it through schema loading calls.
hed/schema/hed_cache.py Adjusts schema path selection to check regular files first, then prerelease when requested.
tests/schema/test_hed_schema_io.py Adds tests covering parameter presence/defaults and ensuring regular schemas still load when enabled.
docs/index.rst Updates documentation intro/section headings (includes a typo to fix).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

docs/index.rst Outdated
------------
and this package enables you to validate, analyze, and manipulate HED annotations in various formats.

Pythn HEDTools features
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

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

Typo in section title: "Pythn HEDTools features" should be "Python HEDTools features".

Suggested change
Pythn HEDTools features
Python HEDTools features

Copilot uses AI. Check for mistakes.
@VisLab VisLab merged commit b607fb4 into hed-standard:main Feb 6, 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.

1 participant