Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use MedCAT's multiprocessing_batch_char_size #8

Merged
merged 1 commit into from
Jan 6, 2025

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'
2 participants