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

Replace legacy validator with schema validator #337

Merged
merged 10 commits into from
Dec 13, 2024
Merged

Conversation

tientong98
Copy link
Contributor

@tientong98 tientong98 commented Nov 18, 2024

Closes #336.

Changes proposed in this pull request

  • replace legacy with schema validator
  • also change cubids print-metadata-fields to account for json file errors due to not been validated yet
  • add deno installation to to circleci
  • add cubids bids-version to either print or save validator and schema version + add unit test for this function

Documentation that should be reviewed

  • Installation page, replace old bids installation instruction with new ones (deno)

also change cubids print-metadata-fields to account for json file errors due to not been validated yet
@tientong98 tientong98 self-assigned this Nov 18, 2024
@tientong98 tientong98 requested a review from tsalo November 18, 2024 17:11
gabridele added a commit to gabridele/CuBIDS_ that referenced this pull request Nov 25, 2024
@tientong98 tientong98 requested a review from tsalo December 12, 2024 16:03
Copy link
Member

@tsalo tsalo left a comment

Choose a reason for hiding this comment

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

The changes look solid to me but I think the new functions need tests.

cubids/cli.py Outdated Show resolved Hide resolved
cubids/cubids.py Outdated Show resolved Hide resolved
cubids/cli.py Show resolved Hide resolved
docs/installation.rst Outdated Show resolved Hide resolved
cubids/workflows.py Show resolved Hide resolved
cubids/validator.py Show resolved Hide resolved
@tientong98 tientong98 requested a review from tsalo December 12, 2024 21:40
@tsalo
Copy link
Member

tsalo commented Dec 13, 2024

It looks like the coverage report isn't being uploaded. I think the repo might need a token to upload, or maybe it's just misconfigured for tokenless uploading.

Copy link
Member

@tsalo tsalo left a comment

Choose a reason for hiding this comment

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

LGTM!

@tientong98 tientong98 merged commit ea0405d into main Dec 13, 2024
9 checks passed
@tientong98 tientong98 deleted the bkchg/schema_validator branch December 13, 2024 17:35
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.

Replace legacy validator with schema bids in cubids validate
2 participants