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

Map issues through the Issue constructor #2143

Merged

Conversation

happy5214
Copy link
Collaborator

The direct use of BidsIssue/BidsHedIssue from hed-validator was causing issues with downstream tools. Converting them to plain Issue objects should fix this problem.

Fixes #2142

The direct use of BidsIssue/BidsHedIssue was causing issues with
downstream tools. Converting them to plain Issue objects should
fix this problem.

Fixes bids-standard#2142
Copy link

codecov bot commented Oct 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.73%. Comparing base (b8c98ec) to head (3d5b919).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2143      +/-   ##
==========================================
+ Coverage   85.72%   85.73%   +0.01%     
==========================================
  Files          91       91              
  Lines        3782     3785       +3     
  Branches     1220     1220              
==========================================
+ Hits         3242     3245       +3     
  Misses        454      454              
  Partials       86       86              
Flag Coverage Δ
85.73% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@happy5214
Copy link
Collaborator Author

This should fix OpenNeuroOrg/openneuro#3162. Please merge ASAP.

@effigies
Copy link
Collaborator

effigies commented Oct 2, 2024

@nellh Do you want to do any tests before this is merged?

@nellh
Copy link
Member

nellh commented Oct 2, 2024

@nellh Do you want to do any tests before this is merged?

Yes, I've been working on reviewing it.

Copy link
Member

@nellh nellh left a comment

Choose a reason for hiding this comment

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

Tested with several OpenNeuro datasets that hit this issue.

@nellh nellh merged commit 0a2530b into bids-standard:master Oct 2, 2024
19 checks passed
@happy5214 happy5214 deleted the pass-hed-issues-to-issue-constructor branch October 4, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HED issues are not translated into "ordinary" Issue objects
3 participants