Skip to content

Commit

Permalink
Bump version: 1.3.2 → 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazu Version Bump committed Dec 1, 2023
1 parent d421f71 commit ddca57f
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 12 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,30 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

<!-- towncrier release notes start -->

## 1.4.0 - 2023-12-01


### Features

- Added new curation_report.py to assist in upgrading ontologies between versions
- New disambiguation strategy to prefer mappings that have a default label that matches an entity.
- The OpenTargetsDiseaseOntologyParser has been heavily reworked, so that it uses the therapeutic_area concept to decide what records should be included. This has in turn yielded the subsets: measurement, medical_procedure, biological_process and phenotype. The measurement configuration is currently disabled as it requires heavy curation of the underlying strings. In addition, the OpenTargetsDiseaseOntologyParser now supports a custom ID grouping method, to make use of cross references.

### Bugfixes

- MemoryEfficientStringMatchingStep now only produces a single entity per class where multiple curations exist with different cases.
- Previously, the `tested_dependencies.txt` file in the model packs included an editable install of kazu, which wasn't intended.
We now exclude kazu from that output.
- Speed up model pack builds for model packs using `ExplosionStringMatchingStep`, by fixing a bug that caused the parsers to be populated twice in this case.

### Deprecations and Removals

- Removed pytorch-lightning as a dependency. The signatures of SapbertStringSimilarityScorer and TransformersModelForTokenClassificationNerStep have changed
- Renamed `create_phrasematchers_using_curations` method of `OntologyMatcher` to `create_phrasematchers`. The old name will continue to work until kazu 1.6, but using it will produce a `DeprecationWarning`.
- `MetadataDatabase.add_parser` now requires an `entity_class`.
This enables correct string normalisation in the `MappingStep` for the new disambiguation strategy.


## 1.3.2 - 2023-11-21


Expand Down
1 change: 0 additions & 1 deletion docs/_changelog.d/+create_phrasematchers_rename.removal.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/_changelog.d/+curationreport.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/_changelog.d/+doubleparserpopulate.bugfix.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/_changelog.d/+excludekazutested_dependencies.bugfix.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/_changelog.d/+metadbaddparser.removal.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/_changelog.d/+otdisease.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/_changelog.d/+pl.removal.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/_changelog.d/+prefdefaultlabel.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/_changelog.d/+stringmapper.bugfix.rst

This file was deleted.

2 changes: 1 addition & 1 deletion kazu/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.3.2"
__version__ = "1.4.0"

0 comments on commit ddca57f

Please sign in to comment.