[ENH] Use BIDS schema to "drive" pybids #818#1163
Merged
effigies merged 13 commits intobids-standard:mainfrom Jan 8, 2026
Merged
[ENH] Use BIDS schema to "drive" pybids #818#1163effigies merged 13 commits intobids-standard:mainfrom
effigies merged 13 commits intobids-standard:mainfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1163 +/- ##
==========================================
+ Coverage 89.34% 89.48% +0.13%
==========================================
Files 66 70 +4
Lines 7276 7828 +552
Branches 854 951 +97
==========================================
+ Hits 6501 7005 +504
- Misses 567 584 +17
- Partials 208 239 +31 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
Awesome, will start with trying the notebook! |
bendhouseart
requested changes
Sep 11, 2025
=== Do not change lines below ===
{
"chain": [],
"cmd": "uv lock",
"exit": 0,
"extra_inputs": [],
"inputs": [
"pyproject.toml"
],
"outputs": [
"uv.lock"
],
"pwd": "."
}
^^^ Do not change lines above ^^^
f629a7d to
d44bb7b
Compare
Contributor
Author
|
Hi @bendhouseart, I've improved code coverage, and CI looks to be passing. :) |
effigies
added a commit
that referenced
this pull request
Mar 12, 2026
Version 0.22.0 (March 11, 2026)
New feature release in the 0.22.x series.
This release introduces schema-based layout configurations::
from bids.layout import BIDSLayout
layout = BIDSLayout('/path/to/dataset', config='bids-schema')
This will use the version of the schema included in
the installed version of bidsschematools_.
The schema configuration will be the way to incorporate updates from
new versions of BIDS (v1.11+), and will eventually be made the default
configuration.
Please try it out and report any issues you encounter
to help us make the transition as smooth as possible.
We are particularly interested in reports from
users who supply custom configurations.
The following dependencies have been updated to new minimum versions:
* NumPy 1.25
* SciPy 1.11
* NiBabel 5.1
* ENH: Sort BIDS file name entities (#1220)
* ENH: Use BIDS schema to "drive" pybids #818 (#1163)
* DOC: Fix documentation deployment (#1224)
* MNT: Add Python 3.14 tests (#1175)
* MNT: Skip pre-release checks on unlabeled PRs (#1188)
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.
This is my first PR as a BIDS maintainer. Appreciate any feedback! This attempts to address #818.
Summary
BIDSLayoutconfiguration loadingImplementation
Config._from_schema()method that loads schema viabidsschematools.schema.load_schema()rules.regexify_filename_rules()bids_schema.objects.formats)Usage