Skip to content

Commit 574a913

Browse files
authored
CU-869bag9m3: Fix embedding linker config component name. (#246)
It was previously 'embedding_linker' but the linker was registered as 'medcat2_embedding_linker'. As such, when trying to create a model pack with the default config, it would fail due to the incorrect component name. This PR fixes that.
1 parent 44a2de4 commit 574a913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

medcat-v2/medcat/config/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ class Linking(ComponentConfig):
392392

393393
class EmbeddingLinking(Linking):
394394
"""The config exclusively used for the embedding linker"""
395-
comp_name: str = "embedding_linker"
395+
comp_name: str = "medcat2_embedding_linker"
396396
"""Changing compoenent name"""
397397
filter_before_disamb: bool = False
398398
"""Filtering CUIs before disambiguation"""

0 commit comments

Comments
 (0)