-
Couldn't load subscription status.
- 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
BEP042 patches #268
Conversation
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.jsons, 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 87.40% 86.98% -0.43%
==========================================
Files 50 50
Lines 3677 3702 +25
Branches 603 604 +1
==========================================
+ Hits 3214 3220 +6
- Misses 453 472 +19
Partials 10 10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
c3c5bcd to
1fa78a6
Compare
fe8a678 to
c381d01
Compare
Co-authored-by: Ross Blair <[email protected]>
Co-authored-by: Chris Markiewicz <[email protected]>
Co-authored-by: Chris Markiewicz <[email protected]>
Co-authored-by: Chris Markiewicz <[email protected]>
Co-authored-by: Chris Markiewicz <[email protected]>
37209e3 to
5cb3dc4
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 justkeyswill 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