Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(py): Base Python validator on schema instead of hard-coded regexes #1967

Merged
merged 7 commits into from
May 23, 2024

Conversation

effigies
Copy link
Collaborator

@effigies effigies commented May 6, 2024

With this PR, we can decouple the Python "validator" from the legacy validator, depending only on the schema.

Depends on bids-standard/bids-specification#1672 and #1957.

Closes #1821.

Copy link

codecov bot commented May 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.68%. Comparing base (fffc35c) to head (f103ac2).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1967   +/-   ##
=======================================
  Coverage   85.68%   85.68%           
=======================================
  Files          91       91           
  Lines        3792     3792           
  Branches     1220     1220           
=======================================
  Hits         3249     3249           
  Misses        457      457           
  Partials       86       86           

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

@effigies
Copy link
Collaborator Author

@tsalo @Remi-Gau @sappelhoff If I could get a review from one of you on the Python, that would be greatly appreciated.

@effigies effigies marked this pull request as ready for review May 23, 2024 19:12
@effigies effigies merged commit f6450ed into bids-standard:master May 23, 2024
31 of 33 checks passed
@effigies effigies deleted the rf/py-bst branch May 23, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]? Python bids-validator returns true on non-bids folder names
2 participants