-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added qualifier attr to Synonymizer (#317)
* Added `qualifier` attr to Synonymizer * Added docstring and made return types more precise * added more docstring * re made python file * add test and tweak a slight bit of lexmatch code * linted * all transforms centrally through apply_transformer * qualifier outcome determines predicate * synonymizer returning results properly * added check for qualifier not being None * no need for pred condition * Converter.data = Converter.prefix_map * undo Converter.data = Converter.prefix_map * removed `qualifier` from rules model * poetry update * removed qualifier * removed qualifier * adjust for new `curies` * reinstated `qualifier` after discussion with Chris * new rule emerged du to tox update * added test for `other` in label * corrected test * formatted * update workflow versions
- Loading branch information
Showing
8 changed files
with
139 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
format-version: 1.2 | ||
ontology: http://www.semanticweb.org/hhegde/ontologies/2022/9/foo_bar | ||
|
||
[Term] | ||
id: ABCD:1 | ||
name: other foo bar | ||
|
||
[Term] | ||
id: ABCD:2 | ||
name: foo bar | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters