ncbo / ontologies_linked_data

Models and serializers for ontologies and related artifacts backed by 4store
Other
18 stars 8 forks source link

Require a list for the naturalLanguage attribute #195

Closed jvendetti closed 6 months ago

jvendetti commented 6 months ago

A minor change to enforce a list value for the naturalLanguage attribute, since ontology content can be written in multiple languages in the same ontology source file. This change is necessary to move forward on https://github.com/ncbo/bioportal-project/issues/304.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.07%. Comparing base (a973d62) to head (f7673ee).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #195 +/- ## =========================================== - Coverage 80.09% 80.07% -0.02% =========================================== Files 65 65 Lines 5003 5003 =========================================== - Hits 4007 4006 -1 - Misses 996 997 +1 ``` | [Flag](https://app.codecov.io/gh/ncbo/ontologies_linked_data/pull/195/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ncbo) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/ncbo/ontologies_linked_data/pull/195/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ncbo) | `80.07% <100.00%> (-0.02%)` | :arrow_down: | 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=ncbo#carryforward-flags-in-the-pull-request-comment) to find out more.

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