Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

(deno) TSV type check overhaul.#1987

Merged
effigies merged 7 commits intobids-standard:masterfrom
rwblair:schema/enhanceTSVTypeCheck
Jun 7, 2024
Merged

(deno) TSV type check overhaul.#1987
effigies merged 7 commits intobids-standard:masterfrom
rwblair:schema/enhanceTSVTypeCheck

Conversation

@rwblair
Copy link
Copy Markdown
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.

rwblair added 2 commits June 7, 2024 12:47
…ified in sidecar and schema rules for that column are in the 'json schema' defined style outlined in bids-standard/bids-specification#1838
@codecov
Copy link
Copy Markdown

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
Copy Markdown
Collaborator

effigies commented Jun 7, 2024

Fixed the CI failures. Back to green on Ubuntu!

Copy link
Copy Markdown
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.

Co-authored-by: Chris Markiewicz <effigies@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants