Attribute Error for Medcat Trainer

I’ve been trying to run Medcat trainer (v2.9.0) on my SLAM machine via docker. It starts out fine, but after I create a new project and open it to start annotations I get the following error:
AttributeError: ‘General’ has no attribute ‘cui_count_limit’
This is caused by the line cui_count_limit = cat.config.general.get(“cui_count_limit”,-1). I wondered if there was anything I should or shouldn’t have done that could cause this error.

Looks like this one’s my bad. I’ve got to make a fix for this on MedCAT side. It’s odd though that this came out only now since the change was introduced in September of last year and released in October in version 1.4.0.

In any case, I’ll post a PR for this shortly.
PR now up: