Skip to content

Add schema-driven config generator and bids_path() function - #1215

Draft
astewartau wants to merge 10 commits into
bids-standard:mainfrom
astewartau:feat/schema-config-gen
Draft

Add schema-driven config generator and bids_path() function#1215
astewartau wants to merge 10 commits into
bids-standard:mainfrom
astewartau:feat/schema-config-gen

Strip config-gen and pseudo-entities; derive all constants from schema

7eb22b6
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project/patch succeeded Apr 2, 2026 in 1s

89.82% (target 0.00%)

View this Pull Request on Codecov

89.82% (target 0.00%)

Details

Codecov Report

❌ Patch coverage is 93.46734% with 39 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.82%. Comparing base (c5b4d6d) to head (7eb22b6).
⚠️ Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
src/bids/layout/config_gen.py 87.35% 12 Missing and 20 partials ⚠️
src/bids/layout/tests/test_config_gen.py 98.51% 5 Missing ⚠️
src/bids/layout/models.py 60.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1215      +/-   ##
==========================================
+ Coverage   89.55%   89.82%   +0.26%     
==========================================
  Files          70       72       +2     
  Lines        7860     8451     +591     
  Branches      956     1024      +68     
==========================================
+ Hits         7039     7591     +552     
- Misses        582      601      +19     
- Partials      239      259      +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.