dkpro / dkpro-cassis

UIMA CAS processing library written in Python
https://pypi.org/project/dkpro-cassis/
Apache License 2.0
85 stars 22 forks source link

Improve warning message in `_add_feature()` #295

Closed zesch closed 10 months ago

zesch commented 11 months ago

In typesystem.py in function _add_feature() a warning is created when a feature is already defined in the parent:

Feature with name [{feature.name}] already exists in parent!

It would help finding the problem if this would also output the name of the type that is casing the problem.