datalad / datalad-catalog

Create a user-friendly data catalog from structured metadata
https://datalad-catalog.netlify.app
MIT License
15 stars 12 forks source link

Add schema utility functions #378

Closed jsheunis closed 1 year ago

jsheunis commented 1 year ago

This PR:

codecov-commenter commented 1 year ago

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (8be6ec8) 86.19% compared to head (ba656ce) 86.22%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #378 +/- ## ========================================== + Coverage 86.19% 86.22% +0.02% ========================================== Files 43 45 +2 Lines 2709 2794 +85 ========================================== + Hits 2335 2409 +74 - Misses 374 385 +11 ``` | [Flag](https://app.codecov.io/gh/datalad/datalad-catalog/pull/378/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/datalad/datalad-catalog/pull/378/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad) | `79.31% <91.01%> (+0.24%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/datalad/datalad-catalog/pull/378?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad) | Coverage Δ | | |---|---|---| | [datalad\_catalog/constants.py](https://app.codecov.io/gh/datalad/datalad-catalog/pull/378?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#diff-ZGF0YWxhZF9jYXRhbG9nL2NvbnN0YW50cy5weQ==) | `100.00% <100.00%> (ø)` | | | [datalad\_catalog/tests/test\_add.py](https://app.codecov.io/gh/datalad/datalad-catalog/pull/378?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#diff-ZGF0YWxhZF9jYXRhbG9nL3Rlc3RzL3Rlc3RfYWRkLnB5) | `100.00% <100.00%> (ø)` | | | [datalad\_catalog/tests/test\_schema\_utils.py](https://app.codecov.io/gh/datalad/datalad-catalog/pull/378?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#diff-ZGF0YWxhZF9jYXRhbG9nL3Rlc3RzL3Rlc3Rfc2NoZW1hX3V0aWxzLnB5) | `100.00% <100.00%> (ø)` | | | [datalad\_catalog/translate.py](https://app.codecov.io/gh/datalad/datalad-catalog/pull/378?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#diff-ZGF0YWxhZF9jYXRhbG9nL3RyYW5zbGF0ZS5weQ==) | `85.18% <ø> (ø)` | | | [datalad\_catalog/utils.py](https://app.codecov.io/gh/datalad/datalad-catalog/pull/378?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#diff-ZGF0YWxhZF9jYXRhbG9nL3V0aWxzLnB5) | `80.31% <100.00%> (+0.64%)` | :arrow_up: | | [datalad\_catalog/schema\_utils.py](https://app.codecov.io/gh/datalad/datalad-catalog/pull/378?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad#diff-ZGF0YWxhZF9jYXRhbG9nL3NjaGVtYV91dGlscy5weQ==) | `87.87% <87.87%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/datalad/datalad-catalog/pull/378/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalad)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.