Skip to content

releasing 0.5.1 - #213

Merged
keighrim merged 6 commits into
mainfrom
develop
May 2, 2023
Merged

releasing 0.5.1#213
keighrim merged 6 commits into
mainfrom
develop

Conversation

@keighrim

@keighrimkeighrim commented May 2, 2023

Copy link
Copy Markdown
Member

Overview

This release includes "fuzzy" matching of at_types and sanitized serialize of Mmif objects.

Additions

Changes

  • fixed a small bug in Mmif.get_alignments
  • fixed view.metadata serialized into an invalid MMIF due to a oneOf condition in jsonschema

keighrim added 6 commits May 1, 2023 16:15
* made fuzzy mode as default
* made fuzzy matching work with `get_alignments` method
* added all-merged `typevers` dict to vocab package
* made at_type version compat test cases to check for version difference warnings
added "fuzzy" mode to `__eq__` of CLAMS vocab subclasses
* validating output using built-in MMIF jsonschema
* remove non-existing annotation types from ``contains`` metadata
* this was a problem mainly because we do not allow an empty `annotations` list while allowing an empty `metadata.contains`.
* Mmif._serialize() method ignores any "empty" attributes during serialization, resulting in view.metadata that has neither `contains`, `error`, nor `warnings` when "safe_serializing" a view with an empty `annotations` list.
* this implementation inserts an empty dict back to view.metadata as a `contains`
@keighrim
keighrim merged commit 8804039 into mainMay 2, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant

@keighrim