unstructured
9d58b34a - Fix/fix table id checking logic (#3898)

Commit
1 year ago
Fix/fix table id checking logic (#3898) - there is a bug in deciding if a page has tables before performing table extraction. This logic checks if the id associated with Table type element is True - however, it should be checking if the id is `None` because sometimes the id can be 0 (the first type of element in the page) - the fix updates the logic - adds a unit test for this specific case
Author
Parents
Loading