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

Implementation and basic unit tests for HEDVersion with libraries #1496

Merged
merged 9 commits into from
Aug 31, 2022
Merged

Implementation and basic unit tests for HEDVersion with libraries #1496

merged 9 commits into from
Aug 31, 2022

Conversation

VisLab
Copy link
Member

@VisLab VisLab commented Aug 4, 2022

This PR implements the bids-validator side of HED library support and is related to:

The relevant unit tests run with the draft hed-javascript version represented by
hed-standard/hed-javascript#75.

Once this version has been released on npm, the package lock for the
bids-validator will need to be updated, and all of the bids PRs can go forward.

In the meantime, @sappelhoff and @rwblair would you mind looking over and
let us know if you spot any issues?

@happy5214 could you also check that I included everything we discussed?

@VisLab VisLab changed the title Added basic unit tests for HEDVersion with libraries Impmentation and basic unit tests for HEDVersion with libraries Aug 4, 2022
@rwblair
Copy link
Member

rwblair commented Aug 9, 2022

@VisLab @happy5214 This looks great. Node test errors will need to be resolved which should happen with hed validator release, but conceptually I think its solid.

@sappelhoff sappelhoff changed the title Impmentation and basic unit tests for HEDVersion with libraries Implentation and basic unit tests for HEDVersion with libraries Aug 25, 2022
@sappelhoff sappelhoff changed the title Implentation and basic unit tests for HEDVersion with libraries Implementation and basic unit tests for HEDVersion with libraries Aug 25, 2022
@codecov
Copy link

codecov bot commented Aug 29, 2022

Codecov Report

Merging #1496 (f830f7a) into master (ee7d94c) will increase coverage by 0.01%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master    #1496      +/-   ##
==========================================
+ Coverage   83.36%   83.37%   +0.01%     
==========================================
  Files          91       91              
  Lines        3691     3688       -3     
  Branches     1123     1122       -1     
==========================================
- Hits         3077     3075       -2     
+ Misses        518      517       -1     
  Partials       96       96              
Impacted Files Coverage Δ
bids-validator/validators/events/hed.js 91.07% <85.71%> (+1.24%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@sappelhoff sappelhoff marked this pull request as ready for review August 29, 2022 20:14
@sappelhoff sappelhoff requested a review from rwblair August 29, 2022 20:14
@sappelhoff sappelhoff merged commit 82a3a42 into bids-standard:master Aug 31, 2022
@sappelhoff
Copy link
Member

Thanks @VisLab et al. 🚀

@sappelhoff
Copy link
Member

Note: I added a fix in bids-standard/bids-validator@c344e27

HEDVersion had not been updated in the JSON schema (done now, including the regexp).

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.

3 participants