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

FIX: Use intersection to find existing events.json files #1574

Merged
merged 2 commits into from
Jan 4, 2023

Conversation

effigies
Copy link
Collaborator

Resolves HED failure reported in #1573.

@codecov
Copy link

codecov bot commented Dec 28, 2022

Codecov Report

Base: 83.56% // Head: 83.37% // Decreases project coverage by -0.18% ⚠️

Coverage data is based on head (e80a1c2) compared to base (40206be).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1574      +/-   ##
==========================================
- Coverage   83.56%   83.37%   -0.19%     
==========================================
  Files          91       91              
  Lines        3736     3736              
  Branches     1141     1141              
==========================================
- Hits         3122     3115       -7     
- Misses        518      525       +7     
  Partials       96       96              
Impacted Files Coverage Δ
bids-validator/validators/events/hed.js 78.57% <100.00%> (-12.50%) ⬇️

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

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -355,9 +355,8 @@ describe('Events', function () {
jsonFiles,
'',
).then((issues) => {
assert.strictEqual(issues.length, 2)
assert.strictEqual(issues.length, 1)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Looking at this test, I couldn't see why this used to be 2. Seems like it could have been a meaningless duplicate, so this fix seems sensible, but would want confirmation.

@effigies effigies requested a review from rwblair January 4, 2023 16:14
@rwblair rwblair merged commit 6a8beab into bids-standard:master Jan 4, 2023
@effigies effigies deleted the fix/hed-intersection branch January 4, 2023 16:21
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