hc-sc-ocdo-bdpd / hc-sc-ocdo-bdpd/file-processing

Fix which error used

Open
#208 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Some errors are duplicated and may never be called.
These errors exist in both fp and fp-ocr or fp-transcription
NotTranscriptionApplicableError
NotOCRApplicableError,
TesseractNotFound

A good starting place is the test_x_decorator files in file-processing. Their home library test files too.

Fix could be removing respective errors from home libraries, however this will impact test cases.
Also cant make fp a dependency of fp-ocr and fp-transcription because that's circular.
Maybe just check for whatever native python error in fp-ocr and fp-transcription tests.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.