Skip to content

Conversation

@phoevos
Copy link
Member

@phoevos phoevos commented Jan 3, 2025

Replace the call to MedCAT's multiprocessing with the multiprocessing_batch_char_size method in the MedCATModel service. The former has been deprecated since version 1.10.0 and is removed in 1.12.0, therefore causing our bulk processing API to fail.

Closes #7

Replace the call to MedCAT's 'multiprocessing' with the
'multiprocessing_batch_char_size' method in the 'MedCATModel' service.
The former has been deprecated since version 1.10.0 and is removed in
1.12.0, therefore causing our bulk processing API to fail.

Signed-off-by: Phoevos Kalemkeris <[email protected]>
@phoevos phoevos requested a review from baixiac January 3, 2025 13:22
Copy link
Member

@baixiac baixiac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well spotted and LGTM.

@phoevos phoevos merged commit 72bbe83 into master Jan 6, 2025
5 checks passed
@phoevos phoevos deleted the fix-phoevos-medcat-multiprocessing-error branch January 6, 2025 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AttributeError: 'CAT' object has no attribute 'multiprocessing'

3 participants