Added a prerelease version to load_schema_version#1208
Merged
VisLab merged 2 commits intohed-standard:mainfrom Feb 6, 2026
Merged
Added a prerelease version to load_schema_version#1208VisLab merged 2 commits intohed-standard:mainfrom
VisLab merged 2 commits intohed-standard:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
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_prereleaseparameter plumbing toload_schema_versionand internal schema-loading helpers. - Update
hed_cache.get_hed_version_pathto prefer regular schema files and fall back to prerelease paths when enabled. - Add unit tests for
check_prereleaseparameter 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 |
There was a problem hiding this comment.
Typo in section title: "Pythn HEDTools features" should be "Python HEDTools features".
Suggested change
| Pythn HEDTools features | |
| Python HEDTools features |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.