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

(deno) TSV type check overhaul. #1987

Merged
merged 7 commits into from
Jun 7, 2024

Conversation

rwblair
Copy link
Member

@rwblair rwblair commented Jun 7, 2024

Modify tsv column value type checks to use user defined types if specifiedified in sidecar and schema rules for that column are in the 'json schema' defined style outlined in bids-standard/bids-specification#1838

For traditional schema defined columns, if they're required the type check produces an error, but if it is not required it generates a warning.

I ran deno fmt on the files and its got opinions on quotes and semicolons, thats where most the changes come from.

…ified in sidecar and schema rules for that column are in the 'json schema' defined style outlined in bids-standard/bids-specification#1838
Copy link

codecov bot commented Jun 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.68%. Comparing base (5b7a364) to head (0e036b5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1987   +/-   ##
=======================================
  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

effigies commented Jun 7, 2024

Fixed the CI failures. Back to green on Ubuntu!

Copy link
Collaborator

@effigies effigies left a comment

Choose a reason for hiding this comment

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

I think I read through all the real changes.

bids-validator/src/schema/applyRules.ts Outdated Show resolved Hide resolved
@effigies effigies merged commit aa76b84 into bids-standard:master Jun 7, 2024
31 of 33 checks passed
effigies added a commit to bids-standard/bids-examples that referenced this pull request Jun 7, 2024
effigies added a commit to bids-standard/bids-examples that referenced this pull request Jun 7, 2024
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.

2 participants