-
Notifications
You must be signed in to change notification settings - Fork 15
BEP042 patches #268
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
base: main
Are you sure you want to change the base?
BEP042 patches #268
Conversation
Co-authored-by: Ross Blair <[email protected]>
Co-authored-by: Chris Markiewicz <[email protected]>
Co-authored-by: Chris Markiewicz <[email protected]>
39d2bfc
to
60b5168
Compare
@effigies I'm doing
Notice that EDIT: this is on |
looks like you resolved it on the spec end. I guess this is ready for changelog and review/merge then? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaving some notes. This PR can be merged once @rwblair is happy with it, or remain open during the BEP42 review period. It would need to be merged (and the dev
branch updated) before the examples PR can be merged.
extension, | ||
rule.target.suffix, | ||
rule.target?.entities ?? [], | ||
).next().value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The EMG examples do not have this case, but with multiple coordsystem.json
s, you could imagine having some at the root and some at the leaf.
We currently strongly assume (and implement with .next().value
) that the first level found is the level of the association, which has worked for single-file associations. This probably needs to be relaxed, but the logic will be more intricate. I think you would need to take the first coordsystem.json
with a given space
entity, not the full collection.
For now this could be noted as a limitation in the validator implementation.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #268 +/- ##
==========================================
+ Coverage 90.03% 90.53% +0.50%
==========================================
Files 47 47
Lines 3462 3487 +25
Branches 586 592 +6
==========================================
+ Hits 3117 3157 +40
+ Misses 335 318 -17
- Partials 10 12 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: Chris Markiewicz <[email protected]>
Co-authored-by: Chris Markiewicz <[email protected]>
c3c5bcd
to
1fa78a6
Compare
This is needed for BEP042, specifically for bids-standard/bids-specification@
5ea4b08
(#1998)Code is copied (with minor typo fixes) from this forum answer so I've listed @rwblair in co-authored-bymarking as draft because I'm not 100% sure that justkeys
will allow us to check everything we want to check.EDIT: approach changed after real-time convo with @effigies; now this collates multiple coordsystem files
xref